File kmymoney-qdebug.patch of Package kmymoney

Index: kmymoney-4.6.0/libkdchart/src/KDChartBackgroundAttributes.cpp
===================================================================
--- kmymoney-4.6.0.orig/libkdchart/src/KDChartBackgroundAttributes.cpp
+++ kmymoney-4.6.0/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 KDCh
 	<< "visible="<<ba.isVisible()
 	<< "brush="<<ba.brush()
 	<< "pixmapmode="<<ba.pixmapMode()
-	<< "pixmap="<<ba.pixmap()
+	<< "pixmap="<< QVariant(ba.pixmap())
 	<< ")";
     return dbg;
 }
openSUSE Build Service is sponsored by