summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2019-04-26 18:06:47 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-04-27 12:41:58 +0200
commitc08f23b1470c0f49336c83c711d473584ce5c96f (patch)
tree57493e934d08b89efd6f5d77db635d261b1dcfeb /vcl
parent56dd851cfc77c362c3db5c0aae4a490c7f6782cc (diff)
tdf#123750 gtk3_kde5: Show removable devices in file dialog
Do the same for the gtk3_kde5 VCL plugin as commit 2c69c93fdb871809825fe8b9aff40b7afb093be8 does for the kde5 one. Change-Id: I6fc91d1dbe133bd905c033c9fce7d48c0b6464a0 Reviewed-on: https://gerrit.libreoffice.org/71384 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3_kde5/kde5_filepicker.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
index d31d6f0aa9ec..f4cb305e239c 100644
--- a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
+++ b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
@@ -45,13 +45,10 @@ KDE5FilePicker::KDE5FilePicker(QObject* parent)
, allowRemoteUrls(false)
{
_dialog->setSupportedSchemes({
- QStringLiteral("file"),
- QStringLiteral("ftp"),
- QStringLiteral("http"),
- QStringLiteral("https"),
- QStringLiteral("webdav"),
- QStringLiteral("webdavs"),
+ QStringLiteral("file"), QStringLiteral("ftp"), QStringLiteral("http"),
+ QStringLiteral("https"), QStringLiteral("webdav"), QStringLiteral("webdavs"),
QStringLiteral("smb"),
+ QStringLiteral(""), // this makes removable devices shown
});
setMultiSelectionMode(false);