]> cloud.milkyroute.net Git - dolphin.git/commitdiff
compile some more
authorStephan Kulow <coolo@kde.org>
Tue, 20 Feb 2007 08:18:28 +0000 (08:18 +0000)
committerStephan Kulow <coolo@kde.org>
Tue, 20 Feb 2007 08:18:28 +0000 (08:18 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=635518

src/dolphincontextmenu.cpp
src/infosidebarpage.cpp

index f40b4787881d79e87aa903584be60774e25f2112..7f34bafd31042c3854d1d303f7b0a876975a814f 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) {
-            KSimpleConfig cfg(*dirIt + *entryIt, true);
+            KConfig cfg(*dirIt + *entryIt, KConfig::OnlyLocals);
             cfg.setDesktopGroup();
             if ((cfg.hasKey("Actions") || cfg.hasKey("X-KDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
                 //const QStringList types = cfg.readListEntry("ServiceTypes");
index f895a71d66e4ca645578280e001b26f711c20ce7..4a1f3198a0c1c2eacff176997a36a25b6b90d1a2 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) {
-            KSimpleConfig cfg(*dirIt + *entryIt, true);
+            KConfig cfg(*dirIt + *entryIt, KConfig::OnlyLocals);
             cfg.setDesktopGroup();
             if ((cfg.hasKey("Actions") || cfg.hasKey("X-KDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
                 const QStringList types = cfg.readEntry("ServiceTypes", QStringList(), ',');