[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.2/kdelibs/kinit
From:       Modestas Vainius <modestas () vainius ! eu>
Date:       2009-01-16 22:56:19
Message-ID: 1232146579.451611.21319.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 912221 by modax:

Fully complete backport of r911168 from trunk.
Incomplete change made kfmclient and friends hang.

CCMAIL: faure@kde.org



 M  +1 -6      klauncher.cpp  


--- branches/KDE/4.2/kdelibs/kinit/klauncher.cpp #912220:912221
@@ -461,12 +461,7 @@
       if (rAppId.isEmpty())
           continue;
 
-      const int len = rAppId.length();
-
-      QChar c = appId.length() > len ? appId.at(len) : QChar();
-      if (appId.startsWith(rAppId) && ((appId.length() == len) ||
-                  (c == QLatin1Char('-'))))
-      {
+      if (matchesPendingRequest(appId, rAppId)) {
          request->dbus_name = appId;
          request->status = KLaunchRequest::Running;
          requestDone(request);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic