summaryrefslogtreecommitdiffstats
path: root/kdesktop/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/main.cc')
-rw-r--r--kdesktop/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesktop/main.cc b/kdesktop/main.cc
index d9eaa5f91..695392165 100644
--- a/kdesktop/main.cc
+++ b/kdesktop/main.cc
@@ -129,7 +129,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
XCloseDisplay(dpy);
dpy = 0;
- if ((pos = display_name.tqfindRev('.')) != -1)
+ if ((pos = display_name.findRev('.')) != -1)
display_name.remove(pos, 10);
TQCString env;