diff options
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 - |