summaryrefslogtreecommitdiffstats
path: root/kworldwatch/maploader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kworldwatch/maploader.cpp')
-rw-r--r--kworldwatch/maploader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kworldwatch/maploader.cpp b/kworldwatch/maploader.cpp
index 8e1e830..62fc49a 100644
--- a/kworldwatch/maploader.cpp
+++ b/kworldwatch/maploader.cpp
@@ -75,10 +75,10 @@ void MapLoader::load(unsigned int width, const TQString &theme, unsigned int hei
for (uint i=0; i<files.count(); ++i)
{
TQString f = files[i];
- int pos = f.tqfindRev("/");
+ int pos = f.findRev("/");
if (pos >= 0)
f = f.mid(pos+1);
- pos = f.tqfindRev(".");
+ pos = f.findRev(".");
if (pos >= 0)
f = f.left(pos);
sizes.append(f.toInt());