diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-04 08:49:58 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-06-11 09:23:57 +0200 |
commit | fac0dcbeef6a0c23e780b9751c17883ec9918d6f (patch) | |
tree | 82ba10f4f93ebb02968c0e65a90f3daeea552b83 /src/designer/src/lib/shared/qdesigner_propertycommand.cpp | |
parent | dbbe4be100e757ff17ca6b8533946c7b55880f8d (diff) |
Qt Designer: introduce member initialization
Fix warnings emitted by clang, use default constructors where
applicable.
Initialize remaining member variables about which clang warns
about missing initialization in the constructor.
Change-Id: Ic23a1f36f7507dc728ca6daf0d2067727125c0a9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/lib/shared/qdesigner_propertycommand.cpp')
-rw-r--r-- | src/designer/src/lib/shared/qdesigner_propertycommand.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/designer/src/lib/shared/qdesigner_propertycommand.cpp b/src/designer/src/lib/shared/qdesigner_propertycommand.cpp index 7c2868c56..d93df7e0e 100644 --- a/src/designer/src/lib/shared/qdesigner_propertycommand.cpp +++ b/src/designer/src/lib/shared/qdesigner_propertycommand.cpp @@ -938,12 +938,6 @@ PropertyListCommand::PropertyDescription::PropertyDescription(const QString &pro { } -PropertyListCommand::PropertyDescription::PropertyDescription() : - m_propertyType(QVariant::Invalid), - m_specialProperty(SP_None) -{ -} - void PropertyListCommand::PropertyDescription::debug() const { qDebug() << m_propertyName << m_propertyGroup << m_propertyType << m_specialProperty; |