diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-09-30 02:11:52 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-09-30 02:12:19 +0200 |
commit | f49c5b075629ef866c17b6fa0712ebe288410a85 (patch) | |
tree | f32ecde87c25cd8d1e48adcbf64d8e619ba3d7e1 /tdenewstuff/provider.cpp | |
parent | f285b77eabe0057cf5d198adf87166a20b3edd42 (diff) | |
download | tdelibs-f49c5b075629ef866c17b6fa0712ebe288410a85.tar.gz tdelibs-f49c5b075629ef866c17b6fa0712ebe288410a85.zip |
Fix default TDENewStuff providers url
Diffstat (limited to 'tdenewstuff/provider.cpp')
-rw-r--r-- | tdenewstuff/provider.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tdenewstuff/provider.cpp b/tdenewstuff/provider.cpp index 5bf754598..8d576ca6c 100644 --- a/tdenewstuff/provider.cpp +++ b/tdenewstuff/provider.cpp @@ -351,15 +351,13 @@ 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; - + TDEIO::TransferJob *job = TDEIO::get( KURL( providersUrl ), false, false ); connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), TQT_SLOT( slotJobResult( TDEIO::Job * ) ) ); |