refactor: move "get versions" task from page to model
This seems more reasonable
This commit is contained in:
@ -30,6 +30,8 @@ class ListModel : public QAbstractListModel {
|
||||
void getLogo(const QString& logo, const QString& logoUrl, LogoCallback callback);
|
||||
void searchWithTerm(const QString& term, const int sort);
|
||||
|
||||
virtual void populateVersions(const ModPlatform::IndexedPack& current);
|
||||
|
||||
protected slots:
|
||||
virtual void searchRequestFinished() = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user