Skip to content
Permalink
Browse files

Merge pull request #31 from gostrc/master

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 16624aad5782d8bcb9247563d0791200226057b7
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgsrasterlayerproperties.cpp
@@ -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>
@@ -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 );

0 comments on commit 16624aa

Please sign in to comment.
You can’t perform that action at this time.