Skip to content
Permalink
Browse files

fix qwt version check

  • Loading branch information
etiennesky committed Jul 25, 2012
1 parent 4f4a609 commit d039c3f6493ee06eeeb85c33cd1906ae38931bb1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/raster/qgsrasterhistogramwidget.cpp
@@ -830,7 +830,7 @@ QString findClosestTickVal( double target, QwtScaleDiv * scale, int div = 100 )
double min = majorTicks[0] - diff;
if ( min > target )
min -= ( majorTicks[1] - majorTicks[0] );
#if defined(QWT_VERSION) && QWT_VERSION<0x0502000
#if defined(QWT_VERSION) && QWT_VERSION<0x050200
double max = scale->hBound();
#else
double max = scale->upperBound();

0 comments on commit d039c3f

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