commit: 02d3197af6b7100aead777388d915744f690da87 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Jan 8 19:10:53 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Jan 8 19:13:34 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=02d3197a
kde-plasma/xdg-desktop-portal-kde: 5.14.5 version bump Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> ...dg-desktop-portal-kde-5.14.4-current_name.patch | 42 ---------------------- ...ebuild => xdg-desktop-portal-kde-5.14.5.ebuild} | 4 +-- 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.14.4-current_name.patch b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.14.4-current_name.patch deleted file mode 100644 index 6525711fc0..0000000000 --- a/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.14.4-current_name.patch +++ /dev/null @@ -1,42 +0,0 @@ -From ccea985840cf5b05b0359067854abc3da080e737 Mon Sep 17 00:00:00 2001 -From: Jan Grulich <[email protected]> -Date: Thu, 13 Dec 2018 07:47:19 +0100 -Subject: FileChooser: make use of current_name property in Save dialog - -It's not used in Qt portal implementation, but gtk has API for that and sets it in Save dialog -and we should try to call selectFile() with it to get pre-selected file for the dialog - -BUG: 402077 ---- - src/filechooser.cpp | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/src/filechooser.cpp b/src/filechooser.cpp -index 37e7744..19f4d42 100644 ---- a/src/filechooser.cpp -+++ b/src/filechooser.cpp -@@ -249,11 +249,6 @@ uint FileChooserPortal::SaveFile(const QDBusObjectPath &handle, - 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 +257,10 @@ uint FileChooserPortal::SaveFile(const QDBusObjectPath &handle, - fileDialog->selectFile(currentFile); - } - -+ if (!currentName.isEmpty()) { -+ fileDialog->selectFile(currentName); -+ } -+ - if (!acceptLabel.isEmpty()) { - fileDialog->setLabelText(QFileDialog::Accept, acceptLabel); - } --- -cgit v1.1 diff --git a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.14.4.ebuild b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.14.5.ebuild similarity index 89% rename from kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.14.4.ebuild rename to kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.14.5.ebuild index ed75658bd6..6dc08c6077 100644 --- a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.14.4.ebuild +++ b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.14.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -33,5 +33,3 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} x11-misc/xdg-desktop-portal " - -PATCHES=( "${FILESDIR}/${P}-current_name.patch" )
