summaryrefslogtreecommitdiff
path: root/office/kmymoney/kdchart.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/kmymoney/kdchart.patch')
-rw-r--r--office/kmymoney/kdchart.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/office/kmymoney/kdchart.patch b/office/kmymoney/kdchart.patch
new file mode 100644
index 0000000000..aa89fe9794
--- /dev/null
+++ b/office/kmymoney/kdchart.patch
@@ -0,0 +1,27 @@
+commit c736b6f08e77df72d58c5b836b7b04f6098737df
+Author: Cristian OneČ› <onet.cristian@gmail.com>
+Date: Sat Feb 18 14:07:35 2012 +0200
+
+ BUG: 293448 - Since KDChart will not be updated in 4.6 patch KDChart to make it build against Qt 4.8.
+
+diff --git a/libkdchart/src/KDChartBackgroundAttributes.cpp b/libkdchart/src/KDChartBackgroundAttributes.cpp
+index f9f1520..3b86000 100644
+--- a/libkdchart/src/KDChartBackgroundAttributes.cpp
++++ b/libkdchart/src/KDChartBackgroundAttributes.cpp
+@@ -22,6 +22,7 @@
+
+ #include "KDChartBackgroundAttributes.h"
+ #include <QPixmap>
++#include <QVariant>
+
+ #include <KDABLibFakes>
+
+@@ -150,7 +151,7 @@ QDebug operator<<(QDebug dbg, const KDChart::BackgroundAttributes& ba)
+ << "visible="<<ba.isVisible()
+ << "brush="<<ba.brush()
+ << "pixmapmode="<<ba.pixmapMode()
+- << "pixmap="<<ba.pixmap()
++ << "pixmap="<<QVariant(ba.pixmap())
+ << ")";
+ return dbg;
+ }