[kmymoney] [Bug 412366] Print to File (PDF) broken on KDE4 in 4.8.4
Wolfgang Bauer
bugzilla_noreply at kde.org
Mon Sep 30 07:20:04 BST 2019
https://bugs.kde.org/show_bug.cgi?id=412366
Wolfgang Bauer <wbauer at tmo.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wbauer at tmo.at
--- Comment #8 from Wolfgang Bauer <wbauer at tmo.at> ---
This additional patch would avoid showing the print dialog twice with an
unpatched kdelibs:
diff --git a/kmymoney/views/kreportsview.cpp b/kmymoney/views/kreportsview.cpp
index 5adcdb2..4afc024 100644
--- a/kmymoney/views/kreportsview.cpp
+++ b/kmymoney/views/kreportsview.cpp
@@ -152,9 +152,11 @@
void KReportsView::KReportTab::print()
{
+#if KDE_IS_VERSION(4, 14, 65)
QPrintDialog dlg(kmymoney->printer(), this);
if (!dlg.exec())
return;
+#endif
d->slotPaintRequested(kmymoney->printer());
}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list