Add missing const
This commit is contained in:
parent
77c6199dd9
commit
9a392692dd
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue