[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-6-1+backports' - vcl/unx

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Wed May 22 11:47:00 UTC 2019


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

New commits:
commit 8273f4c8072fddad71296a17319a648d5a1dfb23
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: Wed May 22 13:46:26 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>
    (cherry picked from commit c08f23b1470c0f49336c83c711d473584ce5c96f)
    Reviewed-on: https://gerrit.libreoffice.org/72751
    Tested-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 641fb7b282e3..76fe4c8713ab 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