From 84c14349dc8abcc6e0f281a3040dd3797e374a0f Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 9 Nov 2021 17:40:49 +0100 Subject: [PATCH] ContextAlbumsModel: Remove unused SqlRow --- src/context/contextalbumsmodel.cpp | 1 - src/context/contextalbumsmodel.h | 6 ------ 2 files changed, 7 deletions(-) diff --git a/src/context/contextalbumsmodel.cpp b/src/context/contextalbumsmodel.cpp index 88184785b..22c5acc4c 100644 --- a/src/context/contextalbumsmodel.cpp +++ b/src/context/contextalbumsmodel.cpp @@ -46,7 +46,6 @@ #include "collection/collectionbackend.h" #include "collection/collectionmodel.h" #include "collection/collectionitem.h" -#include "collection/sqlrow.h" #include "playlist/playlistmanager.h" #include "playlist/songmimedata.h" #include "covermanager/albumcoverloader.h" diff --git a/src/context/contextalbumsmodel.h b/src/context/contextalbumsmodel.h index 95efd3219..5d3543bf5 100644 --- a/src/context/contextalbumsmodel.h +++ b/src/context/contextalbumsmodel.h @@ -43,7 +43,6 @@ #include "core/song.h" #include "collection/collectionquery.h" #include "collection/collectionitem.h" -#include "collection/sqlrow.h" #include "covermanager/albumcoverloaderoptions.h" #include "covermanager/albumcoverloaderresult.h" @@ -72,11 +71,6 @@ class ContextAlbumsModel : public SimpleTreeModel { LastRole }; - struct QueryResult { - QueryResult() {} - SqlRowList rows; - }; - void GetChildSongs(CollectionItem *item, QList *urls, SongList *songs, QSet *song_ids) const; SongList GetChildSongs(const QModelIndex &idx) const; SongList GetChildSongs(const QModelIndexList &indexes) const;