moc: indent the generated code for ResetProperty
Make it match the one for the other property-related operations. Change-Id: I9248cca81f9ab48cf6765f66d696631e91f5ad07 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
6d820c8551
commit
f56ed53261
@ -1238,7 +1238,7 @@ void Generator::generateStaticMetacall()
|
||||
}
|
||||
|
||||
if (needReset) {
|
||||
fprintf(out, "if (_c == QMetaObject::ResetProperty) {\n");
|
||||
fprintf(out, " if (_c == QMetaObject::ResetProperty) {\n");
|
||||
fprintf(out, " switch (_id) {\n");
|
||||
for (int propindex = 0; propindex < int(cdef->propertyList.size()); ++propindex) {
|
||||
const PropertyDef &p = cdef->propertyList.at(propindex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user