[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Mon Jan 19 20:38:12 CET 2004
CVS commit by arwalker:
Removed several compiler warnings
M +3 -3 kstplot.cpp 1.35
--- kdeextragear-2/kst/kst/kstplot.cpp #1.34:1.35
@@ -895,8 +895,8 @@ void KstPlot::drawDotAt(QPainter& p, dou
p.setPen(QPen(QColor(0,0,0), 0));
- p.drawArc(X1 - 3, Y1 - 3, 6, 6, 0, 5760);
+ p.drawArc((int)X1 - 3, (int)Y1 - 3, 6, 6, 0, 5760);
p.setPen(QPen(QColor(255,0,0), 0));
- p.drawArc(X1 - 2, Y1 - 2, 4, 4, 0, 5760);
- p.drawArc(X1 - 1, Y1 - 1, 2, 2, 0, 5760);
+ p.drawArc((int)X1 - 2, (int)Y1 - 2, 4, 4, 0, 5760);
+ p.drawArc((int)X1 - 1, (int)Y1 - 1, 2, 2, 0, 5760);
}
More information about the Kst
mailing list