Make const
This commit is contained in:
parent
7afeabd288
commit
cc2cce66df
|
@ -502,7 +502,7 @@ void SubsonicRequest::SongsFinishCheck() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString SubsonicRequest::ParseSong(Song &song, const QJsonObject &json_obj, const QString &artist_id_requested, const QString &album_id_requested, const QString &album_artist, qint64 album_created) {
|
QString SubsonicRequest::ParseSong(Song &song, const QJsonObject &json_obj, const QString &artist_id_requested, const QString &album_id_requested, const QString &album_artist, const qint64 album_created) {
|
||||||
|
|
||||||
Q_UNUSED(artist_id_requested);
|
Q_UNUSED(artist_id_requested);
|
||||||
Q_UNUSED(album_id_requested);
|
Q_UNUSED(album_id_requested);
|
||||||
|
|
|
@ -100,7 +100,7 @@ class SubsonicRequest : public SubsonicBaseRequest {
|
||||||
void AddAlbumSongsRequest(const QString &artist_id, const QString &album_id, const QString &album_artist, const int offset = 0);
|
void AddAlbumSongsRequest(const QString &artist_id, const QString &album_id, const QString &album_artist, const int offset = 0);
|
||||||
void FlushAlbumSongsRequests();
|
void FlushAlbumSongsRequests();
|
||||||
|
|
||||||
QString ParseSong(Song &song, const QJsonObject &json_obj, const QString &artist_id_requested = QString(), const QString &album_id_requested = QString(), const QString &album_artist = QString(), qint64 album_created = 0);
|
QString ParseSong(Song &song, const QJsonObject &json_obj, const QString &artist_id_requested = QString(), const QString &album_id_requested = QString(), const QString &album_artist = QString(), const qint64 album_created = 0);
|
||||||
|
|
||||||
void GetAlbumCovers();
|
void GetAlbumCovers();
|
||||||
void AddAlbumCoverRequest(Song &song);
|
void AddAlbumCoverRequest(Song &song);
|
||||||
|
|
Loading…
Reference in New Issue