Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37741232
en ru br
ALT Linux repos
S:5.110.0-alt1

Group :: System/Libraries
RPM: kf5-kservice

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-initial-preference.patch
Download


--- a/src/services/kservice.cpp
+++ b/src/services/kservice.cpp
@@ -207,6 +207,8 @@ void KServicePrivate::init(const KDeskto
 
     m_initialPreference = desktopGroup.readEntry("InitialPreference", 1);
     entryMap.remove(QStringLiteral("InitialPreference"));
+    if( entryPath.contains(QStringLiteral("/kf5/")) )
+        m_initialPreference += 20;
 
     // Assign the "initial preference" to each mimetype/servicetype
     // (and to set such preferences in memory from kbuildsycoca)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin