--- krita/ui/widgets/kis_curve_widget_p.h 2010-04-10 12:51:10.298941403 +0200 +++ krita/ui/widgets/kis_curve_widget_p.h 2010-04-10 12:52:23.232566215 +0200 @@ -439,7 +439,7 @@ * That is not mandatory but desirable */ - p.setPen(QPen::QPen(Qt::gray, 1, Qt::SolidLine)); + p.setPen(QPen(Qt::gray, 1, Qt::SolidLine)); p.drawLine(div4_round(wWidth), 0, div4_round(wWidth), wHeight); p.drawLine(div2_round(wWidth), 0, div2_round(wWidth), wHeight); p.drawLine(div4_round(3*wWidth), 0, div4_round(3*wWidth), wHeight); --- krita/ui/widgets/kis_curve_widget.cpp 2010-04-10 12:52:42.028691005 +0200 +++ krita/ui/widgets/kis_curve_widget.cpp 2010-04-10 12:53:10.230690977 +0200 @@ -312,11 +312,11 @@ curveY = d->m_points.at(i).y(); if (i == d->m_grab_point_index) { - p.setPen(QPen::QPen(Qt::red, 3, Qt::SolidLine)); + p.setPen(QPen(Qt::red, 3, Qt::SolidLine)); p.drawEllipse(QRectF(curveX * wWidth - 2, wHeight - 2 - curveY * wHeight, 4, 4)); } else { - p.setPen(QPen::QPen(Qt::red, 1, Qt::SolidLine)); + p.setPen(QPen(Qt::red, 1, Qt::SolidLine)); p.drawEllipse(QRectF(curveX * wWidth - 3, wHeight - 3 - curveY * wHeight, 6, 6)); } --- krita/plugins/filters/colorsfilters/kis_perchannel_filter.cpp 2010-04-10 12:54:52.039566031 +0200 +++ krita/plugins/filters/colorsfilters/kis_perchannel_filter.cpp 2010-04-10 12:55:13.865691184 +0200 @@ -123,7 +123,7 @@ QPixmap gradientpix(width, height); QPainter p(&gradientpix); - p.setPen(QPen::QPen(QColor(0, 0, 0), 1, Qt::SolidLine)); + p.setPen(QPen(QColor(0, 0, 0), 1, Qt::SolidLine)); for (; *i < 256; (*i)++, col += inc) { p.setPen(QColor(col, col, col)); p.drawPoint(x, y); @@ -138,7 +138,7 @@ QPixmap pix(256, height); pix.fill(); QPainter p(&pix); - p.setPen(QPen::QPen(Qt::gray, 1, Qt::SolidLine)); + p.setPen(QPen(Qt::gray, 1, Qt::SolidLine)); if(m_histogram) { --- krita/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cpp 2010-04-10 12:56:17.783566157 +0200 +++ krita/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cpp 2010-04-10 12:56:39.666691313 +0200 @@ -249,7 +249,7 @@ // Create the horizontal gradient label QPixmap hgradientpix(256, 1); QPainter hgp(&hgradientpix); - hgp.setPen(QPen::QPen(QColor(0, 0, 0), 1, Qt::SolidLine)); + hgp.setPen(QPen(QColor(0, 0, 0), 1, Qt::SolidLine)); for (i = 0; i < 256; ++i) { hgp.setPen(QColor(i, i, i)); hgp.drawPoint(i, 0); @@ -259,7 +259,7 @@ // Create the vertical gradient label QPixmap vgradientpix(1, 256); QPainter vgp(&vgradientpix); - vgp.setPen(QPen::QPen(QColor(0, 0, 0), 1, Qt::SolidLine)); + vgp.setPen(QPen(QColor(0, 0, 0), 1, Qt::SolidLine)); for (i = 0; i < 256; ++i) { vgp.setPen(QColor(i, i, i)); vgp.drawPoint(0, 255 - i); @@ -271,7 +271,7 @@ QPixmap pix(256, height); pix.fill(); QPainter p(&pix); - p.setPen(QPen::QPen(Qt::gray, 1, Qt::SolidLine)); + p.setPen(QPen(Qt::gray, 1, Qt::SolidLine)); double highest = (double)histogram.calculations().getHighest(); qint32 bins = histogram.producer()->numberOfBins(); --- krita/plugins/filters/levelfilter/kis_level_filter.cpp 2010-04-10 12:58:00.666691124 +0200 +++ krita/plugins/filters/levelfilter/kis_level_filter.cpp 2010-04-10 12:58:29.002691265 +0200 @@ -178,7 +178,7 @@ pix.fill(); QPainter p(&pix); - p.setPen(QPen::QPen(Qt::gray, 1, Qt::SolidLine)); + p.setPen(QPen(Qt::gray, 1, Qt::SolidLine)); double highest = (double)histogram->calculations().getHighest(); qint32 bins = histogram->producer()->numberOfBins();