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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6438D158020 for ; Sat, 3 Dec 2022 10:57:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C4BDE0D7B; Sat, 3 Dec 2022 10:57:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6AC24E0D7B for ; Sat, 3 Dec 2022 10:57:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8242F341436 for ; Sat, 3 Dec 2022 10:57:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 209A6772 for ; Sat, 3 Dec 2022 10:57:34 +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: <1670065047.734d902365b47cb43bab226a3cb4b722b0d3e9da.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/knotes/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/knotes/files/knotes-22.03.80-unused-dep.patch X-VCS-Directories: kde-apps/knotes/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 734d902365b47cb43bab226a3cb4b722b0d3e9da X-VCS-Branch: master Date: Sat, 3 Dec 2022 10:57:34 +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: 5561eee9-d895-47f8-95cf-55708fd84c5c X-Archives-Hash: ea6267f5defe35eadfd0c7236bd65140 commit: 734d902365b47cb43bab226a3cb4b722b0d3e9da Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 3 10:56:17 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 3 10:57:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=734d9023 kde-apps/knotes: Drop obsolete patch Signed-off-by: Andreas Sturmlechner gentoo.org> .../knotes/files/knotes-22.03.80-unused-dep.patch | 49 ---------------------- 1 file changed, 49 deletions(-) diff --git a/kde-apps/knotes/files/knotes-22.03.80-unused-dep.patch b/kde-apps/knotes/files/knotes-22.03.80-unused-dep.patch deleted file mode 100644 index be55b53c7bf6..000000000000 --- a/kde-apps/knotes/files/knotes-22.03.80-unused-dep.patch +++ /dev/null @@ -1,49 +0,0 @@ -From c0cdfe376ff8e785c1af34122a8ca82a22fa9a9c Mon Sep 17 00:00:00 2001 -From: Laurent Montel -Date: Tue, 15 Mar 2022 06:54:35 +0100 -Subject: [PATCH] Use KWindowStateSaver - ---- - src/print/knoteprinter.cpp | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -diff --git a/src/print/knoteprinter.cpp b/src/print/knoteprinter.cpp -index 0b2a408d..be0b0b15 100644 ---- a/src/print/knoteprinter.cpp -+++ b/src/print/knoteprinter.cpp -@@ -8,7 +8,6 @@ - #include "knotegrantleeprint.h" - #include "print/knoteprintobject.h" - --#include - #include - #include - #include -@@ -17,6 +16,8 @@ - #include - - #include -+#include -+#include - - #include "knotes_debug.h" - #include -@@ -44,10 +45,11 @@ void KNotePrinter::doPrintPreview(const QString &htmlText) - QPrinter printer(QPrinter::HighResolution); - printer.setOutputFormat(QPrinter::PdfFormat); - printer.setCollateCopies(true); -- PimCommon::KPimPrintPreviewDialog previewdlg(&printer, nullptr); -- -- connect(&previewdlg, &QPrintPreviewDialog::paintRequested, this, &KNotePrinter::slotPrinterPage); -- previewdlg.exec(); -+ QPointer previewdlg = new QPrintPreviewDialog(&printer); -+ new KWindowStateSaver(previewdlg.data(), "KNotePrintPreviewDialog"); -+ connect(previewdlg.data(), &QPrintPreviewDialog::paintRequested, this, &KNotePrinter::slotPrinterPage); -+ previewdlg->exec(); -+ delete previewdlg; - } - - void KNotePrinter::slotPrinterPage(QPrinter *printer) --- -GitLab -