Fix only first 7 stickers showing up
This commit is contained in:
parent
56b44a85b5
commit
9f416f1fc9
3 changed files with 8 additions and 6 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue