parent
c516409326
commit
49277c7194
|
@ -548,10 +548,10 @@ void initializeMembers(QTextStream& cpp, const QString& prefix, const Object& o,
|
||||||
{
|
{
|
||||||
for (const Property& p: o.properties) {
|
for (const Property& p: o.properties) {
|
||||||
if (p.type.type == BindingType::Object) {
|
if (p.type.type == BindingType::Object) {
|
||||||
initializeMembers(cpp, "m_" + p.name + "->",
|
|
||||||
conf.findObject(p.type.name), conf);
|
|
||||||
cpp << QString(" %1m_%2->m_d = %3_%2_get(%1m_d);\n")
|
cpp << QString(" %1m_%2->m_d = %3_%2_get(%1m_d);\n")
|
||||||
.arg(prefix, p.name, snakeCase(o.name));
|
.arg(prefix, p.name, snakeCase(o.name));
|
||||||
|
initializeMembers(cpp, "m_" + p.name + "->",
|
||||||
|
conf.findObject(p.type.name), conf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,8 +92,8 @@ Group::Group(QObject *parent):
|
||||||
innerObjectDescriptionChanged)),
|
innerObjectDescriptionChanged)),
|
||||||
m_ownsPrivate(true)
|
m_ownsPrivate(true)
|
||||||
{
|
{
|
||||||
m_person->m_object->m_d = person_object_get(m_person->m_d);
|
|
||||||
m_person->m_d = group_person_get(m_d);
|
m_person->m_d = group_person_get(m_d);
|
||||||
|
m_person->m_object->m_d = person_object_get(m_person->m_d);
|
||||||
}
|
}
|
||||||
|
|
||||||
Group::~Group() {
|
Group::~Group() {
|
||||||
|
|
Loading…
Reference in New Issue