slackbuilds_ponce/office/kmymoney/kdchart.patch
Gilcio Amaral 30afd866cc office/kmymoney: Added a patch for qt-4.8.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-10 16:35:38 -05:00

27 lines
902 B
Diff

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;
}