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:
parent
caff26222c
commit
c2d4d63bcb
@ -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
|
||||
|
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user