Add missing const

This commit is contained in:
Arnaud Bienner 2012-07-21 18:31:08 +02:00
parent 77c6199dd9
commit 9a392692dd
2 changed files with 2 additions and 2 deletions

View File

@ -1416,7 +1416,7 @@ void GroovesharkService::UserFavoriteSongAdded(QNetworkReply* reply, int task_id
RetrieveUserFavorites(); RetrieveUserFavorites();
} }
void GroovesharkService::AddUserLibrarySongs(QList<int>& songs_ids) { void GroovesharkService::AddUserLibrarySongs(const QList<int>& songs_ids) {
int task_id = app_->task_manager()->StartTask(tr("Adding song to My Music")); int task_id = app_->task_manager()->StartTask(tr("Adding song to My Music"));
QList<Param> parameters; QList<Param> parameters;

View File

@ -95,7 +95,7 @@ class GroovesharkService : public InternetService {
void RenamePlaylist(int playlist_id); void RenamePlaylist(int playlist_id);
void AddUserFavoriteSong(int song_id); void AddUserFavoriteSong(int song_id);
void RemoveFromFavorites(const QList<int>& songs_ids_to_remove); void RemoveFromFavorites(const QList<int>& songs_ids_to_remove);
void AddUserLibrarySongs(QList<int>& songs_ids); void AddUserLibrarySongs(const QList<int>& songs_ids);
void RemoveFromLibrary(const QList<int>& songs_ids_to_remove); void RemoveFromLibrary(const QList<int>& songs_ids_to_remove);
void GetSongUrlToShare(int song_id); void GetSongUrlToShare(int song_id);
void GetPlaylistUrlToShare(int playlist_id); void GetPlaylistUrlToShare(int playlist_id);