diff --git a/launcher/meta/Index.cpp b/launcher/meta/Index.cpp index 5a09c1410..22e89e63d 100644 --- a/launcher/meta/Index.cpp +++ b/launcher/meta/Index.cpp @@ -129,9 +129,9 @@ void Index::connectVersionList(const int row, const VersionList::Ptr& list) shared_qobject_ptr Index::property() { - if (!m_property) { - m_property.reset(new Meta::Property()); + if (!m_properties) { + m_properties.reset(new Meta::Property()); } - return m_property; + return m_properties; } } // namespace Meta diff --git a/launcher/meta/Index.h b/launcher/meta/Index.h index 71d43531e..f897fe1f9 100644 --- a/launcher/meta/Index.h +++ b/launcher/meta/Index.h @@ -58,7 +58,7 @@ class Index : public QAbstractListModel, public BaseEntity { private: QVector m_lists; QHash m_uids; - shared_qobject_ptr m_property; + shared_qobject_ptr m_properties; void connectVersionList(const int row, const VersionList::Ptr& list); };