diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-03 11:56:07 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-03 11:57:26 +0100 |
commit | 03479f7cbb5f1381723c31a1cfb0817584e435ed (patch) | |
tree | 18c5a456bf963d7cb167ac729f2fe9fecc4acd75 | |
parent | kde-apps/umbrello: Drop obsolete patch (diff) | |
download | gentoo-03479f7cbb5f1381723c31a1cfb0817584e435ed.tar.gz gentoo-03479f7cbb5f1381723c31a1cfb0817584e435ed.tar.bz2 gentoo-03479f7cbb5f1381723c31a1cfb0817584e435ed.zip |
kde-apps/calendarsupport: Drop obsolete patch
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-apps/calendarsupport/files/calendarsupport-22.03.80-unused-dep.patch | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/kde-apps/calendarsupport/files/calendarsupport-22.03.80-unused-dep.patch b/kde-apps/calendarsupport/files/calendarsupport-22.03.80-unused-dep.patch deleted file mode 100644 index 3402e0855939..000000000000 --- a/kde-apps/calendarsupport/files/calendarsupport-22.03.80-unused-dep.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 3287867734062c60dd6d5ccc66aa03fb73795f9e Mon Sep 17 00:00:00 2001 -From: Volker Krause <vkrause@kde.org> -Date: Mon, 14 Mar 2022 17:22:48 +0100 -Subject: [PATCH] Use KWindowStateSaver for the print preview dialog - -This obsoletes KPimPrintPreviewDialog, and even allows us to remove the -dependency to pimcommon here. ---- - CMakeLists.txt | 2 -- - src/CMakeLists.txt | 1 - - src/printing/calprinter.cpp | 10 +++++----- - 3 files changed, 5 insertions(+), 8 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f684ab9..5225c82 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -59,7 +58,6 @@ find_package(KF5CalendarCore ${KF5_MIN_VERSION} CONFIG REQUIRED) - find_package(KF5IdentityManagement ${IDENTITYMANAGEMENT_LIB_VERSION} CONFIG REQUIRED) - find_package(KF5Holidays ${KF5_MIN_VERSION} CONFIG REQUIRED) - find_package(KF5AkonadiCalendar ${AKONADICALENDAR_LIB_VERSION} CONFIG REQUIRED) --find_package(KF5PimCommon ${PIMCOMMON_LIB_VERSION} CONFIG REQUIRED) - find_package(KF5AkonadiNotes ${AKONADI_NOTES_VERSION} CONFIG REQUIRED) - - ecm_setup_version(PROJECT VARIABLE_PREFIX CALENDARSUPPORT -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index f8c2e3b..2846328 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -116,7 +116,6 @@ PRIVATE - KF5::AkonadiCore - KF5::CalendarCore - KF5::CalendarUtils -- KF5::PimCommon - ) - - set_target_properties(KF5CalendarSupport PROPERTIES -diff --git a/src/printing/calprinter.cpp b/src/printing/calprinter.cpp -index 0ef3da7..0eb7f8f 100644 ---- a/src/printing/calprinter.cpp -+++ b/src/printing/calprinter.cpp -@@ -10,11 +10,11 @@ - #include "journalprint.h" - #include "yearprint.h" - -+#include <KConfigGroup> - #include <KMessageBox> - #include <KStandardGuiItem> --#include <QVBoxLayout> -+#include <KWindowStateSaver> - --#include <KConfigGroup> - #include <QButtonGroup> - #include <QDialogButtonBox> - #include <QGridLayout> -@@ -23,8 +23,7 @@ - #include <QPrintPreviewDialog> - #include <QSplitter> - #include <QStackedWidget> -- --#include <PimCommon/KPimPrintPreviewDialog> -+#include <QVBoxLayout> - - using namespace CalendarSupport; - -@@ -132,7 +131,8 @@ void CalPrinter::doPrint(PrintPlugin *selectedStyle, CalPrinter::ePrintOrientati - } - - if (preview) { -- QPointer<PimCommon::KPimPrintPreviewDialog> printPreview = new PimCommon::KPimPrintPreviewDialog(&printer); -+ QPointer<QPrintPreviewDialog> printPreview = new QPrintPreviewDialog(&printer); -+ new KWindowStateSaver(printPreview.data(), "CalendarPrintPreviewDialog"); - connect(printPreview.data(), &QPrintPreviewDialog::paintRequested, this, [selectedStyle, &printer]() { - selectedStyle->doPrint(&printer); - }); --- -GitLab - |