vcl/unx/gtk3_kde5/kde5_filepicker.cxx |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

New commits:
commit e67f8ea50e470a7f751a9d14d9bf0213c1edd047
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Apr 26 18:06:47 2019 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Sun Apr 28 22:58:45 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.wegh...@posteo.de>
    (cherry picked from commit c08f23b1470c0f49336c83c711d473584ce5c96f)
    Reviewed-on: https://gerrit.libreoffice.org/71410
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to