From 9a392692ddc2cd84ad886f99cfde11fee4d259be Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sat, 21 Jul 2012 18:31:08 +0200 Subject: [PATCH] Add missing const --- src/internet/groovesharkservice.cpp | 2 +- src/internet/groovesharkservice.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);