public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/knotes/files/
Date: Sat,  3 Dec 2022 10:57:34 +0000 (UTC)	[thread overview]
Message-ID: <1670065047.734d902365b47cb43bab226a3cb4b722b0d3e9da.asturm@gentoo> (raw)

commit:     734d902365b47cb43bab226a3cb4b722b0d3e9da
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 10:56:17 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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 <montel@kde.org>
-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 <PimCommon/KPimPrintPreviewDialog>
- #include <QAbstractTextDocumentLayout>
- #include <QPainter>
- #include <QPointer>
-@@ -17,6 +16,8 @@
- #include <QTextDocument>
- 
- #include <KMessageBox>
-+#include <KWindowStateSaver>
-+#include <QPrintPreviewDialog>
- 
- #include "knotes_debug.h"
- #include <KLocalizedString>
-@@ -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<QPrintPreviewDialog> 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
-


             reply	other threads:[~2022-12-03 10:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-03 10:57 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-21 19:38 [gentoo-commits] repo/gentoo:master commit in: kde-apps/knotes/files/ Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1670065047.734d902365b47cb43bab226a3cb4b722b0d3e9da.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox