Kaydet (Commit) e67f8ea5 authored tarafından Michael Weghorn's avatar Michael Weghorn Kaydeden (comit) Adolfo Jayme Barrientos

tdf#123750 gtk3_kde5: Show removable devices in file dialog

Do the same for the gtk3_kde5 VCL plugin as commit
2c69c93f does for the
kde5 one.

Change-Id: I6fc91d1dbe133bd905c033c9fce7d48c0b6464a0
Reviewed-on: https://gerrit.libreoffice.org/71384
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Weghorn <m.weghorn@posteo.de>
(cherry picked from commit c08f23b1)
Reviewed-on: https://gerrit.libreoffice.org/71410Reviewed-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
üst ad44bb45
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment