[Libreoffice-commits] core.git: vcl/unx
Michael Weghorn (via logerrit)
logerrit at kemper.freedesktop.org
Sat Apr 27 10:43:57 UTC 2019
vcl/unx/gtk3_kde5/kde5_filepicker.cxx | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
New commits:
commit c08f23b1470c0f49336c83c711d473584ce5c96f
Author: Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Fri Apr 26 18:06:47 2019 +0200
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Sat Apr 27 12:41:58 2019 +0200
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 at posteo.de>
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);
More information about the Libreoffice-commits
mailing list