diff --git a/src/internet/groovesharkservice.cpp b/src/internet/groovesharkservice.cpp index 8a8f1588a..155a4742c 100644 --- a/src/internet/groovesharkservice.cpp +++ b/src/internet/groovesharkservice.cpp @@ -1416,7 +1416,7 @@ void GroovesharkService::UserFavoriteSongAdded(QNetworkReply* reply, int task_id RetrieveUserFavorites(); } -void GroovesharkService::AddUserLibrarySongs(QList& songs_ids) { +void GroovesharkService::AddUserLibrarySongs(const QList& songs_ids) { int task_id = app_->task_manager()->StartTask(tr("Adding song to My Music")); QList parameters; diff --git a/src/internet/groovesharkservice.h b/src/internet/groovesharkservice.h index fdf9ff5b7..5422f0d40 100644 --- a/src/internet/groovesharkservice.h +++ b/src/internet/groovesharkservice.h @@ -95,7 +95,7 @@ class GroovesharkService : public InternetService { void RenamePlaylist(int playlist_id); void AddUserFavoriteSong(int song_id); void RemoveFromFavorites(const QList& songs_ids_to_remove); - void AddUserLibrarySongs(QList& songs_ids); + void AddUserLibrarySongs(const QList& songs_ids); void RemoveFromLibrary(const QList& songs_ids_to_remove); void GetSongUrlToShare(int song_id); void GetPlaylistUrlToShare(int playlist_id);