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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/runners/webshortcuts
From:       Michel Hermier <michel.hermier () gmail ! com>
Date:       2007-10-25 9:40:22
Message-ID: 1193305222.506089.22222.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 729211 by hermier:

Use KService::Ptr instead of KSharedPtr<KService>.

 M  +1 -2      webshortcutrunner.cpp  


--- trunk/KDE/kdebase/workspace/plasma/runners/webshortcuts/webshortcutrunner.cpp #729210:729211
@@ -26,7 +26,6 @@
 #include <KUrl>
 #include <KLocale>
 #include <KService>
-#include <KSharedPtr>
 #include <KMimeType>
 #include <KIconLoader>
 #include <KStandardDirs>
@@ -62,7 +61,7 @@
         return action;
     }
 
-    foreach (KSharedPtr<KService> service, m_offers) {
+    foreach (KService::Ptr service, m_offers) {
         // hmm, how about getting the keys for the localized sites?
         foreach(QString key, service->property("Keys").toStringList()) {
             // FIXME? should we look for the used separator from the konqi's settings?
[prev in list] [next in list] [prev in thread] [next in thread] 

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