1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-14 01:54:07 +02:00

Really set the correct api url

This commit is contained in:
Hugo Lindström
2011-10-24 13:12:59 +02:00
parent 6c35a435f0
commit 4e7672fd63

View File

@@ -172,7 +172,7 @@ SpotifyPlugin::notInCacheSlot( uint requestId, QHash<QString, QString> criteria,
case InfoChart:
{
/// Fetch the chart, we need source and id
QUrl url = QUrl( QString( CHART_URL "toplist/%1/" ).arg( criteria["chart_id"] ) );
QUrl url = QUrl( QString( SPOTIFY_API_URL "toplist/%1/" ).arg( criteria["chart_id"] ) );
qDebug() << Q_FUNC_INFO << "Getting chart url" << url;
QNetworkReply* reply = m_nam.data()->get( QNetworkRequest( url ) );