diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-03 11:56:12 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-03 11:57:26 +0100 |
commit | 671b877cc1d4f7494ec2717168e4f2677b7cac1f (patch) | |
tree | ded48c2fd13afd4bda2508b877053b3650227700 /kde-apps | |
parent | kde-apps/calendarsupport: Drop obsolete patch (diff) | |
download | gentoo-671b877cc1d4f7494ec2717168e4f2677b7cac1f.tar.gz gentoo-671b877cc1d4f7494ec2717168e4f2677b7cac1f.tar.bz2 gentoo-671b877cc1d4f7494ec2717168e4f2677b7cac1f.zip |
kde-apps/kaddressbook: Drop obsolete patch
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/kaddressbook/files/kaddressbook-22.03.80-unused-dep.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/kde-apps/kaddressbook/files/kaddressbook-22.03.80-unused-dep.patch b/kde-apps/kaddressbook/files/kaddressbook-22.03.80-unused-dep.patch deleted file mode 100644 index 1a988e0c2d76..000000000000 --- a/kde-apps/kaddressbook/files/kaddressbook-22.03.80-unused-dep.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 0b5823a77372924025fb24bf245839393dbe3f70 Mon Sep 17 00:00:00 2001 -From: Laurent Montel <montel@kde.org> -Date: Tue, 15 Mar 2022 06:57:48 +0100 -Subject: [PATCH] Use KWindowStateSaver directly - ---- - src/mainwidget.cpp | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp -index 440f0ff1..1372efa1 100644 ---- a/src/mainwidget.cpp -+++ b/src/mainwidget.cpp -@@ -76,7 +76,7 @@ - #include <QTextBrowser> - - #include <Akonadi/ItemModifyJob> --#include <PimCommon/KPimPrintPreviewDialog> -+#include <KWindowStateSaver> - #include <QActionGroup> - #include <QDBusConnection> - #include <QHBoxLayout> -@@ -694,7 +694,9 @@ void MainWidget::printPreview() - printer.setOutputFormat(QPrinter::PdfFormat); - printer.setCollateCopies(true); - -- QPointer<PimCommon::KPimPrintPreviewDialog> previewdlg = new PimCommon::KPimPrintPreviewDialog(&printer, this); -+ QPointer<QPrintPreviewDialog> previewdlg = new QPrintPreviewDialog(&printer, this); -+ new KWindowStateSaver(previewdlg.data(), "KAddressBookPrintPreviewDialog"); -+ - KABPrinting::PrintingWizard wizard(&printer, mItemView->selectionModel(), this); - wizard.setDefaultAddressBook(currentAddressBook()); - connect(previewdlg.data(), &QPrintPreviewDialog::paintRequested, this, [&wizard]() { --- -GitLab - |