diff options
| author | Stephan Kulow <[email protected]> | 2007-02-20 08:28:31 +0000 |
|---|---|---|
| committer | Stephan Kulow <[email protected]> | 2007-02-20 08:28:31 +0000 |
| commit | 1bed1753d2692d8bd5922928db9a65e40165b906 (patch) | |
| tree | 1ce87802601979481cfb81c6f4e66813cff7306e /src | |
| parent | 918930365674f2b0469cf1fde8bd54f610b90ce0 (diff) | |
I hope this compiles better
svn path=/trunk/KDE/kdebase/apps/; revision=635522
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphincontextmenu.cpp | 2 | ||||
| -rw-r--r-- | src/infosidebarpage.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 7f34bafd3..087211686 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -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"); diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index 4a1f3198a..ea8281918 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -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(), ','); |
