Hello community, here is the log from the commit of package xdg-desktop-portal-kde for openSUSE:Factory checked in at 2019-01-21 10:48:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xdg-desktop-portal-kde (Old) and /work/SRC/openSUSE:Factory/.xdg-desktop-portal-kde.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdg-desktop-portal-kde" Mon Jan 21 10:48:12 2019 rev:35 rq:664009 version:5.14.5 Changes: -------- --- /work/SRC/openSUSE:Factory/xdg-desktop-portal-kde/xdg-desktop-portal-kde.changes 2018-11-29 23:00:04.899529990 +0100 +++ /work/SRC/openSUSE:Factory/.xdg-desktop-portal-kde.new.28833/xdg-desktop-portal-kde.changes 2019-01-21 10:48:48.168132909 +0100 @@ -1,0 +2,12 @@ +Tue Jan 8 13:37:45 UTC 2019 - fab...@ritter-vogt.de + +- Update to 5.14.5 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.14.5.php +- Changes since 5.14.4: + * Set parent window for dialogs + * Add workaround for gtk file chooser filter patterns (kde#399889) + * FileChooser: make use of current_name property in Save dialog (kde#402077) + +------------------------------------------------------------------- Old: ---- xdg-desktop-portal-kde-5.14.4.tar.xz xdg-desktop-portal-kde-5.14.4.tar.xz.sig New: ---- xdg-desktop-portal-kde-5.14.5.tar.xz xdg-desktop-portal-kde-5.14.5.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdg-desktop-portal-kde.spec ++++++ --- /var/tmp/diff_new_pack.jxTCxv/_old 2019-01-21 10:48:49.608131150 +0100 +++ /var/tmp/diff_new_pack.jxTCxv/_new 2019-01-21 10:48:49.608131150 +0100 @@ -1,7 +1,7 @@ # # spec file for package xdg-desktop-portal-kde # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ %define kf5_version 5.50.0 Name: xdg-desktop-portal-kde -Version: 5.14.4 +Version: 5.14.5 Release: 0 Summary: QT/KF5 backend for xdg-desktop-portal License: LGPL-2.1-or-later @@ -40,9 +40,11 @@ BuildRequires: libQt5PrintSupport-private-headers-devel BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version} BuildRequires: cmake(KF5I18n) >= %{kf5_version} +BuildRequires: cmake(KF5KIO) >= %{kf5_version} BuildRequires: cmake(KF5Notifications) >= %{kf5_version} BuildRequires: cmake(KF5Wayland) >= %{kf5_version} BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version} +BuildRequires: cmake(KF5WindowSystem) >= %{kf5_version} BuildRequires: cmake(Qt5Concurrent) BuildRequires: cmake(Qt5Core) >= 5.4.0 BuildRequires: cmake(Qt5DBus) ++++++ xdg-desktop-portal-kde-5.14.4.tar.xz -> xdg-desktop-portal-kde-5.14.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/CMakeLists.txt new/xdg-desktop-portal-kde-5.14.5/CMakeLists.txt --- old/xdg-desktop-portal-kde-5.14.4/CMakeLists.txt 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/CMakeLists.txt 2019-01-08 12:06:44.000000000 +0100 @@ -2,7 +2,7 @@ project(xdg-desktop-portal-kde) -set(PROJECT_VERSION "5.14.4") +set(PROJECT_VERSION "5.14.5") set(PROJECT_VERSION_MAJOR 5) set(QT_MIN_VERSION "5.11.0") @@ -67,6 +67,7 @@ Notifications Wayland WidgetsAddons + WindowSystem ) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/ast/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/ast/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/ast/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/ast/xdg-desktop-portal-kde.po 2019-01-08 12:06:41.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2017-06-30 06:03+0100\n" "Last-Translator: enolp <en...@softastur.org>\n" "Language-Team: Asturian <alministrado...@softastur.org>\n" @@ -58,7 +58,7 @@ msgid "Open with" msgstr "" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/ca/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/ca/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/ca/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/ca/xdg-desktop-portal-kde.po 2019-01-08 12:06:41.000000000 +0100 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-06-23 17:40+0100\n" "Last-Translator: Antoni Bella Pérez <antonibel...@yahoo.com>\n" "Language-Team: Catalan <kde-i18n...@kde.org>\n" @@ -65,7 +65,7 @@ msgid "Open with" msgstr "Obre amb" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Obre" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/ca@valencia/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/ca@valencia/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/ca@valencia/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/ca@valencia/xdg-desktop-portal-kde.po 2019-01-08 12:06:41.000000000 +0100 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-06-23 17:40+0100\n" "Last-Translator: Antoni Bella Pérez <antonibel...@yahoo.com>\n" "Language-Team: Catalan <kde-i18n...@kde.org>\n" @@ -65,7 +65,7 @@ msgid "Open with" msgstr "Obri amb" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Obri" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/cs/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/cs/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/cs/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/cs/xdg-desktop-portal-kde.po 2019-01-08 12:06:41.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-18 14:57+0100\n" "Last-Translator: Vit Pelcak <v...@pelcak.org>\n" "Language-Team: Czech <kde-i18n-...@kde.org>\n" @@ -58,7 +58,7 @@ msgid "Open with" msgstr "Otevřít pomocí" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Otevřít" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/da/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/da/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/da/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/da/xdg-desktop-portal-kde.po 2019-01-08 12:06:41.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-07-18 20:30+0100\n" "Last-Translator: Martin Schlander <mschlan...@opensuse.org>\n" "Language-Team: Danish <kde-i18n-...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Åbn med" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Åbn" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/de/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/de/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/de/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/de/xdg-desktop-portal-kde.po 2019-01-08 12:06:41.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-10-09 07:00+0100\n" "Last-Translator: Burkhard Lück <lu...@hube-lueck.de>\n" "Language-Team: German <kde-i18n...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Öffnen mit" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Öffnen" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/el/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/el/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/el/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/el/xdg-desktop-portal-kde.po 2019-01-08 12:06:41.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2017-06-12 16:39+0200\n" "Last-Translator: Dimitris Kardarakos <dimk...@gmail.com>\n" "Language-Team: Greek <kde-i18n...@kde.org>\n" @@ -59,7 +59,7 @@ msgid "Open with" msgstr "Άνοιγμα" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Άνοιγμα" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/en_GB/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/en_GB/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/en_GB/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/en_GB/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-12 13:47+0000\n" "Last-Translator: Steve Allewell <steve.allew...@gmail.com>\n" "Language-Team: British English <kde-i18n-...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Open with" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Open" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/es/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/es/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/es/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/es/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-07 14:53+0100\n" "Last-Translator: Eloy Cuadra <ecua...@eloihr.net>\n" "Language-Team: Spanish <kde-l10n...@kde.org>\n" @@ -63,7 +63,7 @@ msgid "Open with" msgstr "Abrir con" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Abrir" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/eu/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/eu/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/eu/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/eu/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-09 21:00+0100\n" "Last-Translator: Iñigo Salvador Azurmendi <xa...@euskalnet.net>\n" "Language-Team: Basque <kde-i18n-...@kde.org>\n" @@ -64,7 +64,7 @@ msgid "Open with" msgstr "Ireki honekin" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Ireki" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/fi/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/fi/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/fi/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/fi/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -6,8 +6,8 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" -"PO-Revision-Date: 2018-07-10 23:04+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" +"PO-Revision-Date: 2018-11-22 16:33+0200\n" "Last-Translator: Tommi Nieminen <transla...@legisign.org>\n" "Language-Team: Finnish <kde-i18n-...@kde.org>\n" "Language: fi\n" @@ -54,14 +54,16 @@ msgstr "" "Valitse sovellus, jolla ”%1” avataan. Muita sovelluksia on saatavilla <a " "href=#discover><span style=\"text-decoration: underline\">Discover</span></" -"a>issa." +"a>issa.Valitse sovellus, jolla ”%1” avataan. Muita sovelluksia on saatavilla " +"<a href=#discover><span style=\"text-decoration: underline\">Discover</" +"span></a>issa." #: src/appchooserdialog.cpp:105 #, kde-format msgid "Open with" msgstr "Avaa ohjelmalla" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Avaa" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/fr/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/fr/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/fr/xdg-desktop-portal-kde.po 2018-11-27 17:16:06.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/fr/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-06-05 10:09+0800\n" "Last-Translator: Simon Depiets <sdepi...@gmail.com>\n" "Language-Team: French <kde-francoph...@kde.org>\n" @@ -62,7 +62,7 @@ msgid "Open with" msgstr "Ouvrir avec" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Ouvrir" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/gl/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/gl/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/gl/xdg-desktop-portal-kde.po 2018-11-27 17:16:07.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/gl/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-07 21:41+0100\n" "Last-Translator: Adrian Chaves <adr...@chaves.io>\n" "Language-Team: Galician <kde-i18n-...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Abrir con" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Abrir" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/he/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/he/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/he/xdg-desktop-portal-kde.po 2018-11-27 17:16:07.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/he/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2017-05-22 04:55-0400\n" "Last-Translator: Elkana Bardugo <ttv...@gmail.com>\n" "Language-Team: Hebrew\n" @@ -56,7 +56,7 @@ msgid "Open with" msgstr "פתח" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "פתח" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/hu/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/hu/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/hu/xdg-desktop-portal-kde.po 2018-11-27 17:16:07.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/hu/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-10-19 18:25+0200\n" "Last-Translator: Kristof Kiszel <kiszel.kris...@gmail.com>\n" "Language-Team: Hungarian <kde-l10n...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Megnyitás mással" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Megnyitás" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/ia/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/ia/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/ia/xdg-desktop-portal-kde.po 2018-11-27 17:16:07.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/ia/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-04-18 23:16+0100\n" "Last-Translator: giovanni <g.s...@tiscali.it>\n" "Language-Team: Interlingua <kde-i18n-...@kde.org>\n" @@ -59,7 +59,7 @@ msgid "Open with" msgstr "Aperi" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Aperi" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/id/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/id/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/id/xdg-desktop-portal-kde.po 2018-11-27 17:16:07.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/id/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-08-31 10:01+0700\n" "Last-Translator: Wantoyo <wanto...@gmail.com>\n" "Language-Team: Indonesian <kde-i18n-...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Buka dengan" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Buka" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/it/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/it/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/it/xdg-desktop-portal-kde.po 2018-11-27 17:16:07.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/it/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-12 00:58+0100\n" "Last-Translator: Luigi Toscano <luigi.tosc...@tiscali.it>\n" "Language-Team: Italian <kde-i18n...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Apri con" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Apri" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/ja/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/ja/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/ja/xdg-desktop-portal-kde.po 2018-11-27 17:16:07.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/ja/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2017-04-27 19:03-0700\n" "Last-Translator: Japanese KDE translation team <kde...@kde.org>\n" "Language-Team: Japanese <kde...@kde.org>\n" @@ -55,7 +55,7 @@ msgid "Open with" msgstr "" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/ko/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/ko/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/ko/xdg-desktop-portal-kde.po 2018-11-27 17:16:07.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/ko/xdg-desktop-portal-kde.po 2019-01-08 12:06:42.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-08-14 15:04+0100\n" "Last-Translator: Shinjo Park <k...@peremen.name>\n" "Language-Team: Korean <kde-i18n-...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "다음으로 열기" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "열기" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/nl/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/nl/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/nl/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/nl/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-05 18:46+0100\n" "Last-Translator: Freek de Kruijf <freekdekru...@kde.nl>\n" "Language-Team: Dutch <kde-i18n...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Openen met" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Openen" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/nn/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/nn/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/nn/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/nn/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-10 12:54+0100\n" "Last-Translator: Karl Ove Hufthammer <k...@huftis.org>\n" "Language-Team: Norwegian Nynorsk <i18n...@lister.ping.uio.no>\n" @@ -64,7 +64,7 @@ msgid "Open with" msgstr "Opna med" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Opna" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/pa/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/pa/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/pa/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/pa/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2017-08-27 17:28-0600\n" "Last-Translator: A S Alam <aa...@users.sf.net>\n" "Language-Team: Punjabi <punjabi-us...@lists.sf.net>\n" @@ -59,7 +59,7 @@ msgid "Open with" msgstr "ਖੋਲ੍ਹੋ" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "ਖੋਲ੍ਹੋ" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/pl/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/pl/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/pl/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/pl/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-06-09 05:55+0100\n" "Last-Translator: Łukasz Wojniłowicz <lukasz.wojnilow...@gmail.com>\n" "Language-Team: Polish <kde-i18n-...@kde.org>\n" @@ -62,7 +62,7 @@ msgid "Open with" msgstr "Otwórz za pomocą" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Otwórz" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/pt/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/pt/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/pt/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/pt/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-09 12:02+0100\n" "Last-Translator: José Nuno Coelho Pires <zepi...@gmail.com>\n" "Language-Team: Portuguese <kde-i18n...@kde.org>\n" @@ -57,7 +57,7 @@ msgid "Open with" msgstr "Abrir com" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Abrir" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/pt_BR/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/pt_BR/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/pt_BR/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/pt_BR/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-28 18:36-0300\n" "Last-Translator: Luiz Fernando Ranghetti <elchev...@opensuse.org>\n" "Language-Team: Portuguese <kde-i18n-pt...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Abrir com" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Abrir" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/ru/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/ru/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/ru/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/ru/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-09-22 01:40+0300\n" "Last-Translator: Alexander Potashev <aspotas...@gmail.com>\n" "Language-Team: Russian <kde-russ...@lists.kde.ru>\n" @@ -62,7 +62,7 @@ msgid "Open with" msgstr "Открыть с помощью" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Открыть" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/sk/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/sk/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/sk/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/sk/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-09-14 18:43+0100\n" "Last-Translator: Mthw <jari...@hotmail.com>\n" "Language-Team: Slovak <kde-i18n-...@kde.org>\n" @@ -59,7 +59,7 @@ msgid "Open with" msgstr "Otvoriť s" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Otvoriť" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/sl/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/sl/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/sl/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/sl/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2017-06-04 13:09+0100\n" "Last-Translator: Andrej Mernik <andr...@ubuntu.si>\n" "Language-Team: Slovenian <lugos-...@lugos.si>\n" @@ -60,7 +60,7 @@ msgid "Open with" msgstr "Odpri" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Odpri" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/sr/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/sr/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/sr/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/sr/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-24 07:16+0100\n" "PO-Revision-Date: 2017-06-04 23:06+0200\n" "Last-Translator: Chusslove Illich <caslav.i...@gmx.net>\n" "Language-Team: Serbian <kde-i18n...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Отвори" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:195 #, kde-format msgid "Open" msgstr "Отвори" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/sr@ijekavian/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/sr@ijekavian/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/sr@ijekavian/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/sr@ijekavian/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-24 07:16+0100\n" "PO-Revision-Date: 2017-06-04 23:06+0200\n" "Last-Translator: Chusslove Illich <caslav.i...@gmx.net>\n" "Language-Team: Serbian <kde-i18n...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Отвори" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:195 #, kde-format msgid "Open" msgstr "Отвори" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/sr@ijekavianlatin/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/sr@ijekavianlatin/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/sr@ijekavianlatin/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/sr@ijekavianlatin/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-24 07:16+0100\n" "PO-Revision-Date: 2017-06-04 23:06+0200\n" "Last-Translator: Chusslove Illich <caslav.i...@gmx.net>\n" "Language-Team: Serbian <kde-i18n...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Otvori" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:195 #, kde-format msgid "Open" msgstr "Otvori" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/sr@latin/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/sr@latin/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/sr@latin/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/sr@latin/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-24 07:16+0100\n" "PO-Revision-Date: 2017-06-04 23:06+0200\n" "Last-Translator: Chusslove Illich <caslav.i...@gmx.net>\n" "Language-Team: Serbian <kde-i18n...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Otvori" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:195 #, kde-format msgid "Open" msgstr "Otvori" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/sv/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/sv/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/sv/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/sv/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-05 07:21+0100\n" "Last-Translator: Stefan Asserhäll <stefan.asserh...@bredband.net>\n" "Language-Team: Swedish <kde-i18n-...@kde.org>\n" @@ -61,7 +61,7 @@ msgid "Open with" msgstr "Öppna med" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Öppna" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/tr/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/tr/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/tr/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/tr/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2017-10-04 12:13+0000\n" "Last-Translator: Kaan <kaanozdin...@gmail.com>\n" "Language-Team: Turkish <kde-i18n-...@kde.org>\n" @@ -59,7 +59,7 @@ msgid "Open with" msgstr "Aç" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Aç" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/uk/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/uk/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/uk/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/uk/xdg-desktop-portal-kde.po 2019-01-08 12:06:43.000000000 +0100 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: xdg-desktop-portal-kde\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" "PO-Revision-Date: 2018-05-05 09:08+0200\n" "Last-Translator: Yuri Chornoivan <yurc...@ukr.net>\n" "Language-Team: Ukrainian <kde-i18n...@kde.org>\n" @@ -64,7 +64,7 @@ msgid "Open with" msgstr "Відкрити за допомогою" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "Відкрити" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/zh_CN/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/zh_CN/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/zh_CN/xdg-desktop-portal-kde.po 2018-11-27 17:16:08.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/zh_CN/xdg-desktop-portal-kde.po 2019-01-08 12:06:44.000000000 +0100 @@ -2,8 +2,8 @@ msgstr "" "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2018-09-14 06:49+0200\n" -"PO-Revision-Date: 2018-11-12 09:21\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" +"PO-Revision-Date: 2019-01-05 20:49\n" "Last-Translator: guoyunhe <i...@guoyunhe.me>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" @@ -60,7 +60,7 @@ msgid "Open with" msgstr "打开方式" -#: src/filechooser.cpp:159 +#: src/filechooser.cpp:197 #, kde-format msgid "Open" msgstr "打开" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/po/zh_TW/xdg-desktop-portal-kde.po new/xdg-desktop-portal-kde-5.14.5/po/zh_TW/xdg-desktop-portal-kde.po --- old/xdg-desktop-portal-kde-5.14.4/po/zh_TW/xdg-desktop-portal-kde.po 1970-01-01 01:00:00.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/po/zh_TW/xdg-desktop-portal-kde.po 2019-01-08 12:06:44.000000000 +0100 @@ -0,0 +1,159 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: xdg-desktop-portal-kde\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2018-12-26 07:18+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Chinese <kde-i18n-...@kde.org>\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: src/accessdialog.cpp:42 +#, kde-format +msgid "Request device access" +msgstr "" + +#. i18n: ectx: property (windowTitle), widget (QDialog, AccessDialog) +#. i18n: ectx: property (windowTitle), widget (QDialog, ScreenChooserDialog) +#. i18n: ectx: property (windowTitle), widget (QDialog, ScreenshotDialog) +#: src/accessdialog.ui:20 src/screenchooserdialog.ui:14 +#: src/screenshotdialog.ui:20 +#, kde-format +msgid "Dialog" +msgstr "" + +#. i18n: ectx: property (text), widget (QLabel, iconLabel) +#: src/accessdialog.ui:26 +#, kde-format +msgid "Icon" +msgstr "" + +#. i18n: ectx: property (text), widget (QLabel, titleLabel) +#. i18n: ectx: property (text), widget (QLabel, subtitleLabel) +#. i18n: ectx: property (text), widget (QLabel, bodyLabel) +#: src/accessdialog.ui:38 src/accessdialog.ui:51 src/accessdialog.ui:69 +#, kde-format +msgid "TextLabel" +msgstr "" + +#: src/appchooserdialog.cpp:50 +#, kde-format +msgid "" +"Select application to open \"%1\". Other applications are available in <a " +"href=#discover><span style=\"text-decoration: underline\">Discover</span></" +"a>." +msgstr "" + +#: src/appchooserdialog.cpp:105 +#, kde-format +msgid "Open with" +msgstr "" + +#: src/filechooser.cpp:197 +#, kde-format +msgid "Open" +msgstr "" + +#: src/screenchooserdialog.cpp:45 +#, kde-format +msgid "" +"Laptop screen\n" +"Model: %1" +msgstr "" + +#: src/screenchooserdialog.cpp:48 src/screenchooserdialog.cpp:51 +#, kde-format +msgid "" +"Manufacturer: %1\n" +"Model: %2" +msgstr "" + +#: src/screenchooserdialog.cpp:65 +#, kde-format +msgid "Share" +msgstr "" + +#: src/screenchooserdialog.cpp:66 +#, kde-format +msgid "Select screen to share" +msgstr "" + +#: src/screenshotdialog.cpp:95 +#, kde-format +msgid "Request screenshot" +msgstr "" + +#. i18n: ectx: property (text), widget (QLabel, label) +#: src/screenshotdialog.ui:26 +#, kde-format +msgid "<b>Capture Mode</b>" +msgstr "" + +#. i18n: ectx: property (text), widget (QLabel, label_3) +#: src/screenshotdialog.ui:41 +#, kde-format +msgid "Area:" +msgstr "" + +#. i18n: ectx: property (text), item, widget (QComboBox, areaComboBox) +#: src/screenshotdialog.ui:58 +#, kde-format +msgid "Full Screen (All Monitors)" +msgstr "" + +#. i18n: ectx: property (text), item, widget (QComboBox, areaComboBox) +#: src/screenshotdialog.ui:63 +#, kde-format +msgid "Current Screen" +msgstr "" + +#. i18n: ectx: property (text), item, widget (QComboBox, areaComboBox) +#: src/screenshotdialog.ui:68 +#, kde-format +msgid "Active Window" +msgstr "" + +#. i18n: ectx: property (text), widget (QLabel, label_4) +#: src/screenshotdialog.ui:82 +#, kde-format +msgid "Delay:" +msgstr "" + +#. i18n: ectx: property (specialValueText), widget (QSpinBox, delaySpinBox) +#: src/screenshotdialog.ui:98 +#, kde-format +msgid "No Delay" +msgstr "" + +#. i18n: ectx: property (text), widget (QLabel, label_2) +#: src/screenshotdialog.ui:110 +#, kde-format +msgid "<b>Content Options</b>" +msgstr "" + +#. i18n: ectx: property (text), widget (QCheckBox, includeCursorCheckbox) +#: src/screenshotdialog.ui:117 +#, kde-format +msgid "Include mouse pointer" +msgstr "" + +#. i18n: ectx: property (text), widget (QCheckBox, includeBordersCheckbox) +#: src/screenshotdialog.ui:127 +#, kde-format +msgid "Include window borders" +msgstr "" + +#. i18n: ectx: property (text), widget (QPushButton, takeScreenshotButton) +#: src/screenshotdialog.ui:164 +#, kde-format +msgid "Take screenshot" +msgstr "" \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/CMakeLists.txt new/xdg-desktop-portal-kde-5.14.5/src/CMakeLists.txt --- old/xdg-desktop-portal-kde-5.14.4/src/CMakeLists.txt 2018-11-27 17:16:04.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/CMakeLists.txt 2019-01-08 12:06:39.000000000 +0100 @@ -19,6 +19,7 @@ session.cpp screenshot.cpp screenshotdialog.cpp + utils.cpp ) if (SCREENCAST_ENABLED) @@ -50,6 +51,7 @@ KF5::Notifications KF5::WaylandClient KF5::WidgetsAddons + KF5::WindowSystem ) if (SCREENCAST_ENABLED) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/access.cpp new/xdg-desktop-portal-kde-5.14.5/src/access.cpp --- old/xdg-desktop-portal-kde-5.14.4/src/access.cpp 2018-11-27 17:16:04.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/access.cpp 2019-01-08 12:06:39.000000000 +0100 @@ -19,6 +19,7 @@ #include "access.h" #include "accessdialog.h" +#include "utils.h" #include <QLoggingCategory> @@ -54,6 +55,7 @@ qCDebug(XdgDesktopPortalKdeAccess) << " options: " << options; auto accessDialog = new ::AccessDialog(); + Utils::setParentWindow(accessDialog, parent_window); accessDialog->setBody(body); accessDialog->setTitle(title); accessDialog->setSubtitle(subtitle); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/appchooser.cpp new/xdg-desktop-portal-kde-5.14.5/src/appchooser.cpp --- old/xdg-desktop-portal-kde-5.14.4/src/appchooser.cpp 2018-11-27 17:16:04.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/appchooser.cpp 2019-01-08 12:06:39.000000000 +0100 @@ -19,6 +19,7 @@ #include "appchooser.h" #include "appchooserdialog.h" +#include "utils.h" #include <QLoggingCategory> @@ -57,6 +58,7 @@ } AppChooserDialog *appDialog = new AppChooserDialog(choices, latestChoice, options.value(QLatin1String("filename")).toString()); + Utils::setParentWindow(appDialog, parent_window); if (appDialog->exec()) { results.insert(QLatin1String("choice"), appDialog->selectedApplication()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/filechooser.cpp new/xdg-desktop-portal-kde-5.14.5/src/filechooser.cpp --- old/xdg-desktop-portal-kde-5.14.4/src/filechooser.cpp 2018-11-27 17:16:04.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/filechooser.cpp 2019-01-08 12:06:39.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright © 2016 Red Hat, Inc + * Copyright © 2016-2018 Red Hat, Inc * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,11 +19,13 @@ */ #include "filechooser.h" +#include "utils.h" #include <QDBusMetaType> #include <QDBusArgument> #include <QLoggingCategory> #include <QFileDialog> +#include <QRegularExpression> #include <KLocalizedString> Q_LOGGING_CATEGORY(XdgDesktopPortalKdeFileChooser, "xdp-kde-file-chooser") @@ -76,6 +78,37 @@ return arg; } +static bool isGtkFilterPattern(const QString &pattern) +{ + // We are looking for patterns containing regexp looking like "[Pp][Nn][Gg]" + QRegularExpression re(QStringLiteral("\\*\\.(\\w*(\\[\\w+\\])+\\w*)+")); + return re.match(pattern).hasMatch(); +} + +static QString gtkToQtFilterPattern(const QString &pattern) +{ + QRegularExpression re(QStringLiteral("[\\[\\]]")); + + QString result; + const QStringList list = pattern.split(re, QString::SkipEmptyParts); + for (const QString &str : list) { + if (str.startsWith(QStringLiteral("*."))) { + result += str; + } else { + // Check if first and last letter are same + if (str.at(0).toLower() == str.at(str.length() - 1).toLower()) { + // Take first letter and convert it to lower, so for example from "[Aa]" we get just "a" + result += str.at(0).toLower(); + } else { + // If not, take whole string as it's probably a string between two patterns, like [aA]bc[dD] + result += str; + } + } + } + + return result; +} + FileChooserPortal::FileChooserPortal(QObject *parent) : QDBusAbstractAdaptor(parent) { @@ -140,7 +173,11 @@ QStringList filterStrings; Q_FOREACH (const Filter &filterStruct, filterList.filters) { if (filterStruct.type == 0) { - filterStrings << filterStruct.filterString; + QString filterString = filterStruct.filterString; + if (isGtkFilterPattern(filterString)) { + filterString = gtkToQtFilterPattern(filterString); + } + filterStrings << filterString; } else { mimeTypeFilters << filterStruct.filterString; } @@ -153,6 +190,7 @@ } QFileDialog *fileDialog = new QFileDialog(); + Utils::setParentWindow(fileDialog, parent_window); fileDialog->setWindowTitle(title); fileDialog->setModal(modalDialog); fileDialog->setFileMode(multipleFiles ? QFileDialog::ExistingFiles : QFileDialog::ExistingFile); @@ -232,7 +270,11 @@ QStringList filterStrings; Q_FOREACH (const Filter &filterStruct, filterList.filters) { if (filterStruct.type == 0) { - filterStrings << filterStruct.filterString; + QString filterString = filterStruct.filterString; + if (isGtkFilterPattern(filterString)) { + filterString = gtkToQtFilterPattern(filterString); + } + filterStrings << filterString; } else { mimeTypeFilters << filterStruct.filterString; } @@ -245,15 +287,11 @@ } QFileDialog *fileDialog = new QFileDialog(); + Utils::setParentWindow(fileDialog, parent_window); fileDialog->setWindowTitle(title); fileDialog->setModal(modalDialog); fileDialog->setAcceptMode(QFileDialog::AcceptSave); - // TODO: Looks Qt doesn't have API for this - // if (!currentName.isEmpty()) { - // fileDialog->selectFile(currentName); - // } - if (!currentFolder.isEmpty()) { fileDialog->setDirectoryUrl(QUrl(currentFolder)); } @@ -262,6 +300,10 @@ fileDialog->selectFile(currentFile); } + if (!currentName.isEmpty()) { + fileDialog->selectFile(currentName); + } + if (!acceptLabel.isEmpty()) { fileDialog->setLabelText(QFileDialog::Accept, acceptLabel); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/print.cpp new/xdg-desktop-portal-kde-5.14.5/src/print.cpp --- old/xdg-desktop-portal-kde-5.14.4/src/print.cpp 2018-11-27 17:16:04.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/print.cpp 2019-01-08 12:06:39.000000000 +0100 @@ -19,6 +19,7 @@ */ #include "print.h" +#include "utils.h" #include <KProcess> @@ -599,6 +600,7 @@ printer->setPageMargins(pageMargins, QPageLayout::Millimeter); QPrintDialog *printDialog = new QPrintDialog(printer); + Utils::setParentWindow(printDialog, parent_window); // Process options diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/screencast.cpp new/xdg-desktop-portal-kde-5.14.5/src/screencast.cpp --- old/xdg-desktop-portal-kde-5.14.4/src/screencast.cpp 2018-11-27 17:16:04.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/screencast.cpp 2019-01-08 12:06:39.000000000 +0100 @@ -22,6 +22,7 @@ #include "session.h" #include "screencaststream.h" #include "screenchooserdialog.h" +#include "utils.h" #include <QEventLoop> #include <QLoggingCategory> @@ -407,6 +408,7 @@ } QScopedPointer<ScreenChooserDialog, QScopedPointerDeleteLater> screenDialog(new ScreenChooserDialog(m_outputMap, session->multipleSources())); + Utils::setParentWindow(screenDialog.data(), parent_window); if (screenDialog->exec()) { ScreenCastPortalOutput selectedOutput = m_outputMap.value(screenDialog->selectedScreens().first()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/screenshot.cpp new/xdg-desktop-portal-kde-5.14.5/src/screenshot.cpp --- old/xdg-desktop-portal-kde-5.14.4/src/screenshot.cpp 2018-11-27 17:16:04.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/screenshot.cpp 2019-01-08 12:06:39.000000000 +0100 @@ -20,6 +20,7 @@ #include "screenshot.h" #include "screenshotdialog.h" +#include "utils.h" #include <QColorDialog> #include <QDateTime> @@ -99,6 +100,7 @@ qCDebug(XdgDesktopPortalKdeScreenshot) << " options: " << options; QPointer<ScreenshotDialog> screenshotDialog = new ScreenshotDialog; + Utils::setParentWindow(screenshotDialog, parent_window); const bool modal = options.value(QLatin1String("modal"), false).toBool(); screenshotDialog->setModal(modal); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/utils.cpp new/xdg-desktop-portal-kde-5.14.5/src/utils.cpp --- old/xdg-desktop-portal-kde-5.14.4/src/utils.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/utils.cpp 2019-01-08 12:06:39.000000000 +0100 @@ -0,0 +1,31 @@ +/* + * Copyright © 2018 Alexander Volkov <a.vol...@rusbitech.ru> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "utils.h" + +#include <KWindowSystem> + +#include <QString> +#include <QWidget> +#include <QWindow> + +void Utils::setParentWindow(QWidget *w, const QString &parent_window) +{ + if (parent_window.startsWith(QLatin1String("x11:"))) { + KWindowSystem::setMainWindow(w, parent_window.midRef(4).toULongLong(nullptr, 16)); + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xdg-desktop-portal-kde-5.14.4/src/utils.h new/xdg-desktop-portal-kde-5.14.5/src/utils.h --- old/xdg-desktop-portal-kde-5.14.4/src/utils.h 1970-01-01 01:00:00.000000000 +0100 +++ new/xdg-desktop-portal-kde-5.14.5/src/utils.h 2019-01-08 12:06:39.000000000 +0100 @@ -0,0 +1,30 @@ +/* + * Copyright © 2018 Alexander Volkov <a.vol...@rusbitech.ru> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef XDG_DESKTOP_PORTAL_KDE_UTILS_H +#define XDG_DESKTOP_PORTAL_KDE_UTILS_H + +class QString; +class QWidget; + +class Utils +{ +public: + static void setParentWindow(QWidget *w, const QString &parent_window); +}; + +#endif // XDG_DESKTOP_PORTAL_KDE_UTILS_H