summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-12 20:40:13 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-12 20:40:13 +0000
commite6e12dd07c6670d8758788e4955ad743b4b9e888 (patch)
treedd49bbd05c7049d2d8305380a2cc56bd2774ba20
parent5e49bbb1e8d7761d1c8cdff83184035f59dd5abe (diff)
downloadtdelibs-e6e12dd07c6670d8758788e4955ad743b4b9e888.tar.gz
tdelibs-e6e12dd07c6670d8758788e4955ad743b4b9e888.zip
Reference Qt::black instead of tqblack
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1162843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-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,