Workaround for tracks without album.
[someplayer] / src / libraryform.h
index 9c5b423..2d7cba6 100644 (file)
@@ -85,6 +85,7 @@ private:
        QStandardItemModel *_model;
        LibraryFormListState _state;
        bool _is_dynamic; // workaround
+        bool _is_favorites; // workaround
        QString _current_artist;
        QString _current_album;
        Playlist _current_playlist;
@@ -97,6 +98,9 @@ private:
        QString _icons_theme;
        QString _top_gradient;
        QString _bottom_gradient;
+       int _artist_row_for_scroll_to;
+       int _album_row_for_scroll_to;
+       int _playlist_row_for_scroll_to;
 
        void _add_artist(Playlist *cur, QString artist);
        void _add_album(Playlist *cur, QString artist, QString album);