summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/colourlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/colourlist.cpp')
-rw-r--r--kalarm/lib/colourlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/lib/colourlist.cpp b/kalarm/lib/colourlist.cpp
index 93886b5fa..77bdaa9d1 100644
--- a/kalarm/lib/colourlist.cpp
+++ b/kalarm/lib/colourlist.cpp
@@ -29,8 +29,8 @@ ColourList::ColourList(const TQColor* colours)
void ColourList::insert(const TQColor& colour)
{
- QRgb rgb = colour.rgb();
- for (TQValueListIterator<QRgb> it = mList.begin(); it != mList.end(); ++it)
+ TQRgb rgb = colour.rgb();
+ for (TQValueListIterator<TQRgb> it = mList.begin(); it != mList.end(); ++it)
{
if (rgb <= *it)
{