forked from pool/kf6-kservice
This commit is contained in:
parent
e2f00b195d
commit
c1604498bb
@ -35,9 +35,6 @@ Source: https://download.kde.org/unstable/frameworks/%{version}/%{rname}
|
||||
Source1: https://download.kde.org/unstable/frameworks/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||
Source2: frameworks.keyring
|
||||
%endif
|
||||
# FIXME still wanted?
|
||||
# PATCH-FIX-OPENSUSE kservice-desktop-translations.patch
|
||||
# Patch0: kservice-desktop-translations.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
|
@ -1,17 +0,0 @@
|
||||
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");
|
Loading…
Reference in New Issue
Block a user