summaryrefslogtreecommitdiff
path: root/vcl/inc/qt5
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-07-14 11:29:09 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2019-07-14 17:40:01 +0200
commit6d0dd8847aae01767fa53e0c6db5a5e198dd7b49 (patch)
tree7782c2d3435f89ead0cabb4f447385ac09181206 /vcl/inc/qt5
parentb55d5e3fd2cc92661b06ab4edf8d5956d461a166 (diff)
Qt5 also has native file selection
Change-Id: Ia47ab46f27e07b396aa324dd01af9d152b65de98 Reviewed-on: https://gerrit.libreoffice.org/75573 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/inc/qt5')
-rw-r--r--vcl/inc/qt5/Qt5Instance.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/qt5/Qt5Instance.hxx b/vcl/inc/qt5/Qt5Instance.hxx
index 881ac17803d4..e6a80728b596 100644
--- a/vcl/inc/qt5/Qt5Instance.hxx
+++ b/vcl/inc/qt5/Qt5Instance.hxx
@@ -142,10 +142,10 @@ public:
virtual void TriggerUserEventProcessing() override;
virtual void ProcessEvent(SalUserEvent aEvent) override;
- virtual css::uno::Reference<css::ui::dialogs::XFilePicker2>
+ bool hasNativeFileSelection() const override { return true; }
+ css::uno::Reference<css::ui::dialogs::XFilePicker2>
createFilePicker(const css::uno::Reference<css::uno::XComponentContext>&) override;
-
- virtual css::uno::Reference<css::ui::dialogs::XFolderPicker2>
+ css::uno::Reference<css::ui::dialogs::XFolderPicker2>
createFolderPicker(const css::uno::Reference<css::uno::XComponentContext>&) override;
virtual css::uno::Reference<css::uno::XInterface>