Reference Qt::black instead of tqblack

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1162843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 5e49bbb1e8
commit e6e12dd07c

@ -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,

Loading…
Cancel
Save