summaryrefslogtreecommitdiffstats
path: root/kwin/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/main.cpp')
-rw-r--r--kwin/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kwin/main.cpp b/kwin/main.cpp
index edceeb6bf..96cb793ba 100644
--- a/kwin/main.cpp
+++ b/kwin/main.cpp
@@ -225,7 +225,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
XCloseDisplay( dpy );
dpy = 0;
- if ((pos = display_name.findRev('.')) != -1 )
+ if ((pos = display_name.tqfindRev('.')) != -1 )
display_name.remove(pos,10); // 10 is enough to be sure we removed ".s"
TQCString envir;