summaryrefslogtreecommitdiffstats
path: root/kwin/sm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/sm.cpp')
-rw-r--r--kwin/sm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kwin/sm.cpp b/kwin/sm.cpp
index 045d4f924..3a6aa3ebe 100644
--- a/kwin/sm.cpp
+++ b/kwin/sm.cpp
@@ -259,8 +259,8 @@ bool Workspace::windowRoleMatch( const TQCString& role1, const TQCString& role2
{
if( role1.isEmpty() && role2.isEmpty())
return true;
- int pos1 = role1.tqfind( '#' );
- int pos2 = role2.tqfind( '#' );
+ int pos1 = role1.find( '#' );
+ int pos2 = role2.find( '#' );
bool ret;
if( pos1 < 0 || pos2 < 0 || pos1 != pos2 )
ret = role1 == role2;