From f2a598e7d0df2f36e771fd84c71fc6c6468c2f5a Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 9 Apr 2006 20:16:13 +0000 Subject: [PATCH] =?UTF-8?q?qt4-ification=20by=20Thorsten=20R=C3=B6der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QRegExp::search() --> QRegExp::indexIn() QString::find() --> QString::indexOf() QString::findRev() --> QString::lastIndexOf() QString::lower() --> QString::toLower() QString::upper() --> QString::toUpper() QString::setLength() --> QString::resize() QByteArray::find() --> QByteArray::indexOf() QByteArray::findRev() --> QByteArray::lastIndexof() QTimer::start(ms,sShot) --> {QTimer::setSingleShot() ; QTimer::start()} + commenting out call to artsshell in startkde. svn path=/trunk/KDE/kdebase/workspace/; revision=527991 --- group.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group.cpp b/group.cpp index f4706ef953..287a1b530d 100644 --- a/group.cpp +++ b/group.cpp @@ -326,8 +326,8 @@ bool Client::sameAppWindowRoleMatch( const Client* c1, const Client* c2, bool ac || c1->group()->leaderClient() == c1 || c2->group()->leaderClient() == c2; #endif } - int pos1 = c1->windowRole().find( '#' ); - int pos2 = c2->windowRole().find( '#' ); + int pos1 = c1->windowRole().indexOf( '#' ); + int pos2 = c2->windowRole().indexOf( '#' ); if(( pos1 >= 0 && pos2 >= 0 ) || // hacks here