mirror of
https://github.com/PrismLauncher/PrismLauncher
synced 2026-04-23 09:05:03 +00:00
fix(InstanceList): count() should be int as all usages expect int
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
f26a4f897c
commit
9cf9ec5341
|
|
@ -98,7 +98,7 @@ class InstanceList : public QAbstractListModel {
|
|||
|
||||
BaseInstance* at(int i) const { return m_instances.at(i).get(); }
|
||||
|
||||
qsizetype count() const { return static_cast<qsizetype>(m_instances.size()); }
|
||||
int count() const { return static_cast<int>(m_instances.size()); }
|
||||
|
||||
InstListError loadList();
|
||||
void saveNow();
|
||||
|
|
|
|||
Loading…
Reference in a new issue