~ubuntu-branches/ubuntu/oneiric/kdeplasma-addons/oneiric

« back to all changes in this revision

Viewing changes to applets/kdeobservatory/src/commithistoryview.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-08-25 12:23:57 UTC
  • Revision ID: james.westby@ubuntu.com-20110825122357-0utgajsvssp1rs6i
Tags: 4:4.7.0-0ubuntu3
* Switch to build-dep on libqwt-dev to support transition to qwt6
* Add debian/patches/qwt6_build.patch backported from upstream trunk to
  fix FTBFS with newer qwt

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        plot->setCanvasBackground(QColor(0, 0, 140));
125
125
 
126
126
        QwtPlotCurve *curve = new QwtPlotCurve;
 
127
#if QWT_VERSION >= (((6) << 16) | ((0) << 8) | (0))
 
128
        curve->setSamples(x, y, j);     
 
129
#else
127
130
        curve->setData(x, y, j);
 
131
#endif
128
132
        delete []x;
129
133
        delete []y;
130
134