From c2d4d63bcb3376e74910d896a8187702c492ac1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=9D=E5=A4=8F=E5=90=8C=E5=AD=A6?= <2411829240@qq.com> Date: Sat, 4 Nov 2023 00:08:40 +0800 Subject: [PATCH] =?UTF-8?q?DCO=20Remediation=20Commit=20for=20=E5=88=9D?= =?UTF-8?q?=E5=A4=8F=E5=90=8C=E5=AD=A6=20<2411829240@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: e6cc3f1af1e96dc5367ccbfc274a48859ae116cc I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: 90599e8f7303b9e29fceb966d63a8be4c6df8ff1 I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: b3a09fca1ee58069d6a421a386634b2675207acb I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: ab721409abc6ca33936cc7cae1fef1e0404cd4e2 I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: caff26222ca261452416207edd2d41c7a8941663 Signed-off-by: 初夏同学 <2411829240@qq.com> --- launcher/meta/Index.cpp | 6 +++--- launcher/meta/Index.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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); };