// properties in the order they are specified.
QHash<QString, QVariant> propertyHash;
QVector<QString> properties;
- QVector<Declaration> decls = declarations(styleRules(w), QString());
+ const QVector<Declaration> decls = declarations(styleRules(w), QString());
// run through the declarations in order
for (int i = 0; i < decls.count(); i++) {
qWarning() << w << " does not have a property named " << property;
continue;
}
- QMetaProperty metaProperty = metaObject->property(index);
+ const QMetaProperty metaProperty = metaObject->property(index);
if (!metaProperty.isWritable() || !metaProperty.isDesignable()) {
qWarning() << w << " cannot design property named " << property;
continue;