]> cloud.milkyroute.net Git - dolphin.git/commitdiff
I hope this compiles better
authorStephan Kulow <coolo@kde.org>
Tue, 20 Feb 2007 08:28:31 +0000 (08:28 +0000)
committerStephan Kulow <coolo@kde.org>
Tue, 20 Feb 2007 08:28:31 +0000 (08:28 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=635522

src/dolphincontextmenu.cpp
src/infosidebarpage.cpp

index 7f34bafd31042c3854d1d303f7b0a876975a814f..087211686e8c4e7e1db97bbcdc4142164ef25be6 100644 (file)
@@ -317,7 +317,7 @@ QList<QAction*> DolphinContextMenu::insertActionItems(KMenu* popup,
         QStringList entries = dir.entryList(QDir::Files);
 
         for (QStringList::ConstIterator entryIt = entries.begin(); entryIt != entries.end(); ++entryIt) {
-            KConfig cfg(*dirIt + *entryIt, KConfig::OnlyLocals);
+            KConfig cfg(*dirIt + *entryIt, KConfig::OnlyLocal);
             cfg.setDesktopGroup();
             if ((cfg.hasKey("Actions") || cfg.hasKey("X-KDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
                 //const QStringList types = cfg.readListEntry("ServiceTypes");
index 4a1f3198a0c1c2eacff176997a36a25b6b90d1a2..ea8281918013d62e27d752e6df4bafa126a25f67 100644 (file)
@@ -452,7 +452,7 @@ void InfoSidebarPage::insertActions()
         QStringList entries = dir.entryList(QStringList("*.desktop"), QDir::Files);
 
         for (QStringList::ConstIterator entryIt = entries.begin(); entryIt != entries.end(); ++entryIt) {
-            KConfig cfg(*dirIt + *entryIt, KConfig::OnlyLocals);
+            KConfig cfg(*dirIt + *entryIt, KConfig::OnlyLocal);
             cfg.setDesktopGroup();
             if ((cfg.hasKey("Actions") || cfg.hasKey("X-KDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
                 const QStringList types = cfg.readEntry("ServiceTypes", QStringList(), ',');