Line 0
Link Here
|
|
|
1 |
--- gui/graphing/BudgetingWindow.cpp.orig |
2 |
+++ gui/graphing/BudgetingWindow.cpp |
3 |
@@ -120,7 +120,11 @@ |
4 |
} |
5 |
} |
6 |
|
7 |
+#if defined(QWT_VERSION) && QWT_VERSION>=0x060100 |
8 |
+ const QwtScaleDiv * div = &widget.qwtPlot->axisScaleDiv( QwtPlot::xBottom ); |
9 |
+#else |
10 |
QwtScaleDiv * div = widget.qwtPlot->axisScaleDiv( QwtPlot::xBottom ); |
11 |
+#endif |
12 |
div->setInterval( 0, drawer->count() ); |
13 |
widget.qwtPlot->setAxisMaxMajor( QwtPlot::xBottom, drawer->count() ); |
14 |
|