summaryrefslogtreecommitdiffstats
path: root/src/designer/src/lib/shared/qdesigner_propertycommand_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/lib/shared/qdesigner_propertycommand_p.h')
-rw-r--r--src/designer/src/lib/shared/qdesigner_propertycommand_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/designer/src/lib/shared/qdesigner_propertycommand_p.h b/src/designer/src/lib/shared/qdesigner_propertycommand_p.h
index cc607ae91..2eef88cd7 100644
--- a/src/designer/src/lib/shared/qdesigner_propertycommand_p.h
+++ b/src/designer/src/lib/shared/qdesigner_propertycommand_p.h
@@ -182,15 +182,15 @@ protected:
// properties of different widgets are equivalent
struct PropertyDescription {
public:
- PropertyDescription();
+ PropertyDescription() = default;
PropertyDescription(const QString &propertyName, QDesignerPropertySheetExtension *propertySheet, int index);
bool equals(const PropertyDescription &p) const;
void debug() const;
QString m_propertyName;
QString m_propertyGroup;
- QVariant::Type m_propertyType;
- SpecialProperty m_specialProperty;
+ QVariant::Type m_propertyType = QVariant::Invalid;
+ SpecialProperty m_specialProperty = SP_None;
};
const PropertyDescription &propertyDescription() const { return m_propertyDescription; }