[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Fri Nov 14 21:30:32 CET 2008
SVN commit 884393 by fenton:
Fix Windows build errors.
M +2 -0 arrowitem.cpp
M +1 -1 plotaxis.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/arrowitem.cpp #884392:884393
@@ -15,6 +15,8 @@
#include "viewitemzorder.h"
#include "arrowitemdialog.h"
+#include "math_kst.h"
+
#include <debug.h>
#include <QDebug>
--- branches/work/kst/portto4/kst/src/libkstapp/plotaxis.cpp #884392:884393
@@ -551,7 +551,7 @@
int High = floor(max)+1;
bool minorLabels = ((High - Low) <= 1);
for (int i = Low - 1; i <= High; i+=tick) {
- qreal majorPoint = pow(10, i);
+ qreal majorPoint = pow(10.0, i);
if (majorPoint == 0) majorPoint = -350;
if (i >= min && i <= max) {
*MajorTicks << majorPoint;
More information about the Kst
mailing list