summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konsole/konsole/main.cpp')
-rw-r--r--konsole/konsole/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/konsole/konsole/main.cpp b/konsole/konsole/main.cpp
index b5048f90a..5b391a5e5 100644
--- a/konsole/konsole/main.cpp
+++ b/konsole/konsole/main.cpp
@@ -375,7 +375,7 @@ extern "C" int KDE_EXPORT kdemain(int argc, char* argv[])
it != types.end(); ++it)
{
TQString file = *it;
- file = file.mid(file.tqfindRev('/')+1);
+ file = file.mid(file.findRev('/')+1);
if (file.endsWith(".desktop"))
file = file.left(file.length()-8);
printf("%s\n", TQFile::encodeName(file).data());
@@ -437,7 +437,7 @@ extern "C" int KDE_EXPORT kdemain(int argc, char* argv[])
it != profiles.end(); ++it)
{
TQString file = *it;
- file = file.mid(file.tqfindRev('/')+1);
+ file = file.mid(file.findRev('/')+1);
printf("%s\n", TQFile::encodeName(file).data());
}
return 0;