summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kcolortest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests/kcolortest.cpp')
-rw-r--r--kdeui/tests/kcolortest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeui/tests/kcolortest.cpp b/kdeui/tests/kcolortest.cpp
index 46f5b42bc..d4a5c2625 100644
--- a/kdeui/tests/kcolortest.cpp
+++ b/kdeui/tests/kcolortest.cpp
@@ -51,9 +51,9 @@ void KColorWidget::doIntensityLoop()
for (int i=0;i<size; i++, qptr++)
{
qrgb=*(QRgb *)qptr;
- *qptr=tqRgb((int)(tqRed(qrgb)*1./max),
- (int)(tqGreen(qrgb)*1./max),
- (int)(tqBlue(qrgb)*1./max));
+ *qptr=qRgb((int)(qRed(qrgb)*1./max),
+ (int)(qGreen(qrgb)*1./max),
+ (int)(qBlue(qrgb)*1./max));
}
}
pixmap.convertFromImage(image);