From 34ab9070078bec900cee1d122055c5148027b2ee Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 31 May 2019 20:47:15 +0200 Subject: [PATCH] Remove unused code --- src/tidal/tidalrequest.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/tidal/tidalrequest.h b/src/tidal/tidalrequest.h index e9c5e0254..6032ba925 100644 --- a/src/tidal/tidalrequest.h +++ b/src/tidal/tidalrequest.h @@ -92,8 +92,6 @@ class TidalRequest : public TidalBaseRequest { typedef QList ParamList; struct Request { - //Request(const int artist_id = 0, const int limit = 0, const int offset = 0) : - //artist_id_(artist_id), limit_(limit), offset_(offset) {} int artist_id = 0; int album_id = 0; int song_id = 0; @@ -107,16 +105,6 @@ class TidalRequest : public TidalBaseRequest { QUrl url; }; -#if 0 - struct AlbumSongsRequest { - AlbumSongsRequest(const int artist_id = 0, const int album_id = 0, const QString &album_artist = QString()) : - artist_id_(artist_id), album_id_(album_id), album_artist_(album_artist) {} - int artist_id_; - int album_id_; - QString album_artist_; - }; -#endif - const bool IsQuery() { return (type_ == QueryType_Artists || type_ == QueryType_Albums || type_ == QueryType_Songs); } const bool IsSearch() { return (type_ == QueryType_SearchArtists || type_ == QueryType_SearchAlbums || type_ == QueryType_SearchSongs); }