summaryrefslogtreecommitdiffstats
path: root/kmail/kmstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmstartup.cpp')
-rw-r--r--kmail/kmstartup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/kmstartup.cpp b/kmail/kmstartup.cpp
index fd3d7bd7e..4d82e9e19 100644
--- a/kmail/kmstartup.cpp
+++ b/kmail/kmstartup.cpp
@@ -173,7 +173,7 @@ void lockOrDie() {
path_buffer[length] = '\0';
const TQString path = TQFile::decodeName(path_buffer);
kdDebug() << k_funcinfo << path << endl;
- const int pos = path.tqfindRev('/');
+ const int pos = path.findRev('/');
const TQString fileName = path.mid(pos+1);
kdDebug() << "Found process " << oldPid << " running. It's: " << fileName << endl;
first_instance = fileName != "kmail" && fileName != "kontact";