SHA256
1
0
forked from pool/kf6-kservice
Christophe Marin 2024-02-11 01:41:10 +00:00 committed by Git OBS Bridge
parent e2f00b195d
commit c1604498bb
2 changed files with 0 additions and 20 deletions

View File

@ -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

View File

@ -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");