[Slackbuilds-users] KMyMoney 4.8.4 breaks Print to File
Erich Ritz
erich.public at protonmail.com
Tue Sep 24 15:32:48 UTC 2019
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, September 24, 2019 8:21 AM, Erich Ritz via SlackBuilds-users <slackbuilds-users at slackbuilds.org> wrote:
> Upgrading to KMyMoney 4.8.4 breaks the "Print to File (PDF)" feature for me when printing report tables.
>
The following patch restores "Print to File (PDF)" functionality for me, but the print dialog appears twice.
--- BEGIN ---
diff --git a/kmymoney/views/kreportsview.cpp b/kmymoney/views/kreportsview.cpp
index 5adcdb2fb..4afc0247c 100644
--- a/kmymoney/views/kreportsview.cpp
+++ b/kmymoney/views/kreportsview.cpp
@@ -99,7 +99,7 @@ void KReportsView::KReportTab::Private::slotPaintRequested(QPrinter *printer)
#if KDE_IS_VERSION(4, 14, 65)
q->m_part->view()->print(kmymoney->printer(), true);
#else
- q->m_part->view()->print(true);
+ q->m_part->view()->print();
#endif
}
--- END ---
More information about the SlackBuilds-users
mailing list