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

I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: e6cc3f1af1
I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: 90599e8f73
I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: b3a09fca1e
I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: ab721409ab
I, 初夏同学 <2411829240@qq.com>, hereby add my Signed-off-by to this commit: caff26222c

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);
};