[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Wed Dec 22 19:21:23 CET 2004
CVS commit by arwalker:
Remove compiler warnings.
M +6 -6 kst2dplot.cpp 1.340
--- kdeextragear-2/kst/kst/kst2dplot.cpp #1.339:1.340
@@ -1828,10 +1828,8 @@ void Kst2DPlot::drawDotAt(QPainter& p, d
int X1 = d2i(_m_X * x + _b_X) + position().x();
int Y1 = d2i(_m_Y * y + _b_Y) + position().y();
- if (PlotRegion.contains(X1, Y1)) {
- QColor colorInner("white");
- QColor colorOuter("gray");
+ if (PlotRegion.contains(X1, Y1)) {
p.setRasterOp(Qt::XorROP);
- p.setPen(QPen(colorOuter, 1));
+ p.setPen(QPen(QColor("gray"), 1));
p.drawEllipse(X1 - 3, Y1 - 3, 6, 6);
p.setRasterOp(Qt::CopyROP);
@@ -5817,4 +5815,6 @@ void Kst2DPlot::plotAxes(QPainter& p, QR
double ytick_len_px, int y_px,
bool offsetX, bool offsetY) {
+ Q_UNUSED(offsetX)
+
QString TmpStr, TmpStrOld;
double X1, Y1;
More information about the Kst
mailing list