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
|
|
@ -23,11 +23,7 @@ public:
|
|||
|
||||
ImagePackModel(const std::string &roomId, bool stickers, QObject *parent = nullptr);
|
||||
QHash<int, QByteArray> roleNames() const override;
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override
|
||||
{
|
||||
(void)parent;
|
||||
return (int)images.size();
|
||||
}
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex &index, int role) const override;
|
||||
|
||||
mtx::events::msc2545::PackImage imageAt(int row)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue