mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class InstanceList : public QAbstractListModel {
|
||||||
|
|
||||||
BaseInstance* at(int i) const { return m_instances.at(i).get(); }
|
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();
|
InstListError loadList();
|
||||||
void saveNow();
|
void saveNow();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue