parent
d95cfa3f36
commit
8ff470989b
6 changed files with 14 additions and 12 deletions
|
@ -65,7 +65,7 @@ class KotoArtistModel : public QAbstractListModel {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit KotoArtistModel(const QList<KotoArtist*>& artists, QObject* parent = nullptr) : QAbstractListModel(parent), m_artists(artists) {}
|
||||
explicit KotoArtistModel(const QList<KotoArtist*>& artists, QObject* parent = nullptr);
|
||||
|
||||
void addArtist(KotoArtist* artist);
|
||||
int rowCount(const QModelIndex& parent = QModelIndex()) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue