Skip to content

Commit

Permalink
Merge pull request #31 from gostrc/master
Browse files Browse the repository at this point in the history
Initial step for bug #3562 QGIS incompatible with QWT 6.0.0
  • Loading branch information
timlinux committed Jul 16, 2011
2 parents f49d225 + e0e21f1 commit 16624aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/qgsrasterlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
#include <QList>
#include <QSettings>
#include <QMouseEvent>
#include <QVector>

// QWT Charting widget
#include <qwt_plot_canvas.h>
#include <qwt_array.h>
#include <qwt_legend.h>
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
Expand Down Expand Up @@ -1920,8 +1920,8 @@ void QgsRasterLayerProperties::refreshHistogram()
mypCurve->setCurveAttribute( QwtPlotCurve::Fitted );
mypCurve->setRenderHint( QwtPlotItem::RenderAntialiased );
mypCurve->setPen( QPen( myColors.at( myIteratorInt ) ) );
QwtArray<double> myX2Data;//qwtarray is just a wrapped qvector
QwtArray<double> myY2Data;//qwtarray is just a wrapped qvector
QVector<double> myX2Data;
QVector<double> myY2Data;
for ( int myBin = 0; myBin < BINCOUNT; myBin++ )
{
int myBinValue = myRasterBandStats.histogramVector->at( myBin );
Expand Down

0 comments on commit 16624aa

Please sign in to comment.