summaryrefslogtreecommitdiffstats
path: root/libkholidays/kholidays.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkholidays/kholidays.cpp')
-rw-r--r--libkholidays/kholidays.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkholidays/kholidays.cpp b/libkholidays/kholidays.cpp
index 6af3998fb..3b4ec63a2 100644
--- a/libkholidays/kholidays.cpp
+++ b/libkholidays/kholidays.cpp
@@ -47,7 +47,7 @@ TQStringList KHolidays::locations()
TQStringList::ConstIterator it;
for ( it = files.begin(); it != files.end(); ++it )
- locs.append( (*it).mid((*it).tqfindRev('_') + 1) );
+ locs.append( (*it).mid((*it).findRev('_') + 1) );
return locs;
}