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

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Wed May 22 13:12:07 UTC 2019


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

New commits:
commit 3c2dfa6925d8825bd01ac2434594b6f79e9793a6
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Fri Apr 26 18:06:47 2019 +0200
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed May 22 15:11: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/72752
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
index 9f55e1df1bc2..691b6b57241a 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