From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87F3D138350 for ; Fri, 10 Apr 2020 14:31:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB3C9E09AE; Fri, 10 Apr 2020 14:31:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3360E09AE for ; Fri, 10 Apr 2020 14:31:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5DE134EF91 for ; Fri, 10 Apr 2020 14:31:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12A8E71 for ; Fri, 10 Apr 2020 14:31:36 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1586529071.2599d0ea6fb258c25e8000eef5672a5127c187ca.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/clementine/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/clementine/files/clementine-1.3.1_p20190609-fix-restore-from-systray.patch X-VCS-Directories: media-sound/clementine/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2599d0ea6fb258c25e8000eef5672a5127c187ca X-VCS-Branch: master Date: Fri, 10 Apr 2020 14:31:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b9bd394f-e66b-48c3-ad74-4048246cbed8 X-Archives-Hash: 321512b3c1accf4aa39c55b2a8712c5c commit: 2599d0ea6fb258c25e8000eef5672a5127c187ca Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon Jan 6 17:13:04 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Apr 10 14:31:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2599d0ea media-sound/clementine: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14270 Signed-off-by: Andreas Sturmlechner gentoo.org> ...-1.3.1_p20190609-fix-restore-from-systray.patch | 34 ---------------------- 1 file changed, 34 deletions(-) diff --git a/media-sound/clementine/files/clementine-1.3.1_p20190609-fix-restore-from-systray.patch b/media-sound/clementine/files/clementine-1.3.1_p20190609-fix-restore-from-systray.patch deleted file mode 100644 index 9f27e219e89..00000000000 --- a/media-sound/clementine/files/clementine-1.3.1_p20190609-fix-restore-from-systray.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 1bf633e71b7b5d8e5965971036d66e1d18552b49 Mon Sep 17 00:00:00 2001 -From: Michael Niggli -Date: Fri, 31 May 2019 17:04:46 +0200 -Subject: [PATCH] Fix blank window when restoring from systray - -This applies the fix qBittorrent used for this same issue: -https://github.com/qbittorrent/qBittorrent/issues/9240, -so credit goes to those guys ---- - src/ui/mainwindow.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp -index 2944d46ec..ad603fd64 100644 ---- a/src/ui/mainwindow.cpp -+++ b/src/ui/mainwindow.cpp -@@ -1441,7 +1441,7 @@ void MainWindow::closeEvent(QCloseEvent* event) { - keep_running = s.value("keeprunning", tray_icon_->IsVisible()).toBool(); - - if (keep_running && event->spontaneous()) { -- event->accept(); -+ event->ignore(); - SetHiddenInTray(true); - } else { - Exit(); -@@ -1454,7 +1454,7 @@ void MainWindow::SetHiddenInTray(bool hidden) { - // Some window managers don't remember maximized state between calls to - // hide() and show(), so we have to remember it ourself. - if (hidden) { -- hide(); -+ QTimer::singleShot(0, this, &QWidget::hide); - } else { - if (was_maximized_) - showMaximized();