summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/rgb/kfile_rgb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/rgb/kfile_rgb.cpp')
-rw-r--r--kfile-plugins/rgb/kfile_rgb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kfile-plugins/rgb/kfile_rgb.cpp b/kfile-plugins/rgb/kfile_rgb.cpp
index 3c8b416e..ff6dadde 100644
--- a/kfile-plugins/rgb/kfile_rgb.cpp
+++ b/kfile-plugins/rgb/kfile_rgb.cpp
@@ -143,8 +143,8 @@ bool KRgbPlugin::readInfo(KFileMetaInfo& info, uint /*what*/)
TQMap<TQ_UINT32, uint>::Iterator end = map.end();
for (k = 0; k < (ysize * zsize); k++) {
dstream >> offs;
- if ((it = map.tqfind(offs)) != end)
- map.tqreplace(offs, it.data() + 1);
+ if ((it = map.find(offs)) != end)
+ map.replace(offs, it.data() + 1);
else
map[offs] = 0;
}