DCO Remediation Commit for 初夏同学 <2411829240@qq.com>

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>
This commit is contained in:
初夏同学 2023-11-04 00:08:40 +08:00
parent caff26222c
commit c2d4d63bcb
No known key found for this signature in database
GPG Key ID: 83899E736B2B9DD7
2 changed files with 4 additions and 4 deletions

View File

@ -129,9 +129,9 @@ void Index::connectVersionList(const int row, const VersionList::Ptr& list)
shared_qobject_ptr<Meta::Property> 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

View File

@ -58,7 +58,7 @@ class Index : public QAbstractListModel, public BaseEntity {
private:
QVector<VersionList::Ptr> m_lists;
QHash<QString, VersionList::Ptr> m_uids;
shared_qobject_ptr<Meta::Property> m_property;
shared_qobject_ptr<Meta::Property> m_properties;
void connectVersionList(const int row, const VersionList::Ptr& list);
};