summaryrefslogtreecommitdiffstats
path: root/kdecore/kpalette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kpalette.cpp')
-rw-r--r--kdecore/kpalette.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdecore/kpalette.cpp b/kdecore/kpalette.cpp
index 1a828fe4d..f07ac4228 100644
--- a/kdecore/kpalette.cpp
+++ b/kdecore/kpalette.cpp
@@ -176,7 +176,7 @@ KPalette::color(int index)
if ((index < 0) || (index >= nrColors()))
return TQColor();
- kolor *node = mKolorList.at(index);
+ kolor *node = mKolorList.tqat(index);
if (!node)
return TQColor();
@@ -202,7 +202,7 @@ KPalette::colorName(int index)
if ((index < 0) || (index >= nrColors()))
return TQString::null;
- kolor *node = mKolorList.at(index);
+ kolor *node = mKolorList.tqat(index);
if (!node)
return TQString::null;
@@ -227,7 +227,7 @@ KPalette::changeColor(int index,
if ((index < 0) || (index >= nrColors()))
return -1;
- kolor *node = mKolorList.at(index);
+ kolor *node = mKolorList.tqat(index);
if (!node)
return -1;