33b4657f52
Frameworks 6 RC 2 + polkit-qt + phonon. Still untested. OBS-URL: https://build.opensuse.org/request/show/1144393 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/kf6-kservice?expand=0&rev=1
18 lines
746 B
Diff
18 lines
746 B
Diff
diff --git a/src/services/kservicegroup.cpp b/src/services/kservicegroup.cpp
|
|
index 38d72ead..e62f946e 100644
|
|
--- a/src/services/kservicegroup.cpp
|
|
+++ b/src/services/kservicegroup.cpp
|
|
@@ -42,9 +42,9 @@ void KServiceGroupPrivate::load(const QString &cfg)
|
|
|
|
const KConfigGroup config = desktopFile.desktopGroup();
|
|
|
|
- m_strCaption = config.readEntry("Name");
|
|
- m_strIcon = config.readEntry("Icon");
|
|
- m_strComment = config.readEntry("Comment");
|
|
+ m_strCaption = desktopFile.readName();
|
|
+ m_strIcon = desktopFile.readIcon();
|
|
+ m_strComment = desktopFile.readComment();
|
|
deleted = config.readEntry("Hidden", false);
|
|
m_bNoDisplay = desktopFile.noDisplay();
|
|
m_strBaseGroupName = config.readEntry("X-KDE-BaseGroup");
|