Fix only first 7 stickers showing up

This commit is contained in:
Nicolas Werner 2021-07-19 12:43:16 +02:00
parent 56b44a85b5
commit 9f416f1fc9
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
3 changed files with 8 additions and 6 deletions

View file

@ -26,6 +26,12 @@ ImagePackModel::ImagePackModel(const std::string &roomId, bool stickers, QObject
}
}
int
ImagePackModel::rowCount(const QModelIndex &) const
{
return (int)images.size();
}
QHash<int, QByteArray>
ImagePackModel::roleNames() const
{