1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 17:29:42 +01:00

Keep the correct url.

This commit is contained in:
Hugo Lindström 2013-01-24 20:37:12 +01:00
parent 6ba5c3c98b
commit 0fea002e64

View File

@ -39,8 +39,8 @@
#include <QNetworkConfiguration>
#include <QNetworkReply>
//#define CHART_URL "http://charts.tomahawk-player.org/"
#define CHART_URL "http://localhost:8080/"
#define CHART_URL "http://charts.tomahawk-player.org/"
//#define CHART_URL "http://localhost:8080/"
namespace Tomahawk
{
@ -497,7 +497,7 @@ ChartsPlugin::chartsList()
/// If this item has expired, set it to 0.
c[ "expires" ] = ( ok ? QString::number (expires ) : QString::number( 0 ) );
QList< Tomahawk::InfoSystem::InfoStringHash > extraTypeData = extraType[ extra ][ type ].value< QList< Tomahawk::InfoSystem::InfoStringHash > >();
QList< Tomahawk::InfoSystem::InfoStringHash > exraTypeData = extraType[ extra ][ type ].value< QList< Tomahawk::InfoSystem::InfoStringHash > >();
extraTypeData.append( c );
extraType[ extra ][ type ] = QVariant::fromValue< QList< Tomahawk::InfoSystem::InfoStringHash > >( extraTypeData );