Fix default TDENewStuff providers url

pull/16/head
Slávek Banko 10 years ago
parent f285b77eab
commit f49c5b0756

@ -351,11 +351,9 @@ void ProviderLoader::load( const TQString &type, const TQString &providersList )
providersUrl = cfg->readEntry( "ProvidersUrl" );
if ( providersUrl.isEmpty() ) {
// TODO: Replace the default by the real one.
TQString server = cfg->readEntry( "MasterServer",
"https://www.trinitydesktop.org" );
providersUrl = server + "/ocs/" + type + "/providers.xml";
providersUrl = server + "/ocs/providers.xml";
}
kdDebug() << "ProviderLoader::load(): providersUrl: " << providersUrl << endl;

Loading…
Cancel
Save