Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:belphegor_belbel:KDE3
kdelibs3
x-kde-InitialPreference.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File x-kde-InitialPreference.diff of Package kdelibs3
Index: kio/kio/kservice.cpp =================================================================== --- kio/kio/kservice.cpp.orig +++ kio/kio/kservice.cpp @@ -249,7 +249,10 @@ KService::init( KDesktopFile *config ) m_bAllowAsDefault = config->readBoolEntry( "AllowDefault", true ); entryMap.remove("AllowDefault"); - m_initialPreference = config->readNumEntry( "InitialPreference", 1 ); + m_initialPreference = config->readNumEntry( "X-KDE-InitialPreference", 1 ); + entryMap.remove("X-KDE-InitialPreference"); + if ( m_initialPreference == 1 ) + m_initialPreference = config->readNumEntry( "InitialPreference", 1 ); entryMap.remove("InitialPreference"); // Store all additional entries in the property map.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor