diff options
Diffstat (limited to 'kwin/main.cpp')
-rw-r--r-- | kwin/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kwin/main.cpp b/kwin/main.cpp index a65a32431..8a15c219c 100644 --- a/kwin/main.cpp +++ b/kwin/main.cpp @@ -227,7 +227,7 @@ 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); // 10 is enough to be sure we removed ".s" TQCString envir; |