summaryrefslogtreecommitdiffstats
path: root/src/infosidebarpage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-11 17:19:16 -0500
committerTimothy Pearson <[email protected]>2014-10-11 17:19:16 -0500
commit5b1f358aad613d6b5de7e02efffefe5d6e7bc883 (patch)
treef24ce86870af711b367c2de3e64e3f1aa0376a57 /src/infosidebarpage.cpp
parent04adf69a8d983ab9e55043bf9de89fc6ab7d0d56 (diff)
downloaddolphin-5b1f358aad613d6b5de7e02efffefe5d6e7bc883.tar.gz
dolphin-5b1f358aad613d6b5de7e02efffefe5d6e7bc883.zip
Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications
Diffstat (limited to 'src/infosidebarpage.cpp')
-rw-r--r--src/infosidebarpage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp
index cf6f527..5e20c5d 100644
--- a/src/infosidebarpage.cpp
+++ b/src/infosidebarpage.cpp
@@ -443,8 +443,8 @@ void InfoSidebarPage::insertActions()
for (TQStringList::ConstIterator entryIt = entries.begin(); entryIt != entries.end(); ++entryIt) {
KSimpleConfig cfg(*dirIt + *entryIt, true);
cfg.setDesktopGroup();
- if ((cfg.hasKey("Actions") || cfg.hasKey("X-TDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
- const TQStringList types = cfg.readListEntry("ServiceTypes");
+ if ((cfg.hasKey("Actions") || cfg.hasKey("X-TDE-GetActionMenu")) && cfg.hasKey("X-TDE-ServiceTypes")) {
+ const TQStringList types = cfg.readListEntry("X-TDE-ServiceTypes");
for (TQStringList::ConstIterator it = types.begin(); it != types.end(); ++it) {
// check whether the mime type is equal or whether the
// mimegroup (e. g. image/*) is supported