From 9cf9ec534161ef069d74e09b8a4a5762e1760cb7 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Wed, 25 Feb 2026 19:50:09 +0500 Subject: [PATCH] fix(InstanceList): count() should be int as all usages expect int Signed-off-by: Octol1ttle --- launcher/InstanceList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/InstanceList.h b/launcher/InstanceList.h index 64c950d08..f0a92d273 100644 --- a/launcher/InstanceList.h +++ b/launcher/InstanceList.h @@ -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(m_instances.size()); } + int count() const { return static_cast(m_instances.size()); } InstListError loadList(); void saveNow();