~bulldog98/kubuntu-packaging/kdeplasma-addons

« back to all changes in this revision

Viewing changes to debian/patches/qwt6_build.patch

  • Committer: Jonathan Kolberg
  • Date: 2011-09-04 09:59:10 UTC
  • Revision ID: bulldog98@kubuntu-de.org-20110904095910-vr5sm8zlrzomcjaf
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Backport from KDE trunk b3527f12ad9f577535d07e9614cfda9ef8131910
2
 
Index: kdeplasma-addons-4.7.0/applets/kdeobservatory/src/commithistoryview.cpp
3
 
===================================================================
4
 
--- kdeplasma-addons-4.7.0.orig/applets/kdeobservatory/src/commithistoryview.cpp        2011-08-25 12:21:01.379133375 -0400
5
 
+++ kdeplasma-addons-4.7.0/applets/kdeobservatory/src/commithistoryview.cpp     2011-08-25 12:22:39.299133403 -0400
6
 
@@ -124,7 +124,11 @@
7
 
         plot->setCanvasBackground(QColor(0, 0, 140));
8
 
 
9
 
         QwtPlotCurve *curve = new QwtPlotCurve;
10
 
+#if QWT_VERSION >= (((6) << 16) | ((0) << 8) | (0))
11
 
+        curve->setSamples(x, y, j);    
12
 
+#else
13
 
         curve->setData(x, y, j);
14
 
+#endif
15
 
         delete []x;
16
 
         delete []y;
17