Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:home:wolfi323
kde3-amarok
amarok-enginecontroller.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File amarok-enginecontroller.diff of Package kde3-amarok
--- amarok/src/enginecontroller.cpp.orig 2005-10-25 22:25:14.000000000 +0200 +++ amarok/src/enginecontroller.cpp 2005-10-25 22:25:32.000000000 +0200 @@ -145,6 +145,11 @@ QString query = "[X-KDE-Amarok-plugintype] == 'engine' and [X-KDE-Amarok-name] != '%1'"; KTrader::OfferList offers = PluginManager::query( query.arg( engineName ) ); + for( int n = offers.count()-1, i = 0; i < n; i++ ) + if ( offers[n]->property("X-KDE-amaroK-name") == "xine-engine" && + !QFile::exists("/usr/share/xine/mad") ) + offers[n]->property( "X-KDE-amaroK-rank" ) = "128"; + // sort by rank, QValueList::operator[] is O(n), so this is quite inefficient #define rank( x ) (x)->property( "X-KDE-Amarok-rank" ).toInt() for( int n = offers.count()-1, i = 0; i < n; i++ )
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