summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdefx/kimageeffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdefx/kimageeffect.cpp b/kdefx/kimageeffect.cpp
index 5954c5d76..eee05b497 100644
--- a/kdefx/kimageeffect.cpp
+++ b/kdefx/kimageeffect.cpp
@@ -2820,7 +2820,7 @@ void KImageEffect::threshold(TQImage &img, unsigned int threshold)
data = (unsigned int *)img.tqcolorTable();
}
for(i=0; i < count; ++i)
- data[i] = intensityValue(data[i]) < threshold ? QColor(tqblack).rgb() : QColor(tqwhite).rgb();
+ data[i] = intensityValue(data[i]) < threshold ? QColor(Qt::black).rgb() : QColor(Qt::white).rgb();
}
void KImageEffect::hull(const int x_offset, const int y_offset,