diff options
Diffstat (limited to 'src/designer/src/components/propertyeditor/propertyeditor.h')
-rw-r--r-- | src/designer/src/components/propertyeditor/propertyeditor.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/designer/src/components/propertyeditor/propertyeditor.h b/src/designer/src/components/propertyeditor/propertyeditor.h index 819e65108..cc32b2fde 100644 --- a/src/designer/src/components/propertyeditor/propertyeditor.h +++ b/src/designer/src/components/propertyeditor/propertyeditor.h @@ -146,10 +146,10 @@ private: const Strings m_strings; QDesignerFormEditorInterface *m_core; - QDesignerPropertySheetExtension *m_propertySheet; - QtAbstractPropertyBrowser *m_currentBrowser; + QDesignerPropertySheetExtension *m_propertySheet = nullptr; + QtAbstractPropertyBrowser *m_currentBrowser = nullptr; QtButtonPropertyBrowser *m_buttonBrowser; - QtTreePropertyBrowser *m_treeBrowser; + QtTreePropertyBrowser *m_treeBrowser = nullptr; DesignerPropertyManager *m_propertyManager; DesignerEditorFactory *m_treeFactory; DesignerEditorFactory *m_groupFactory; @@ -158,14 +158,14 @@ private: QMap<QtProperty*, QString> m_propertyToGroup; QMap<QString, QtVariantProperty*> m_nameToGroup; QList<QtProperty *> m_groups; - QtProperty *m_dynamicGroup; + QtProperty *m_dynamicGroup = nullptr; QString m_recentlyAddedDynamicProperty; - bool m_updatingBrowser; + bool m_updatingBrowser = false; QStackedWidget *m_stackedWidget; QLineEdit *m_filterWidget; - int m_buttonIndex; - int m_treeIndex; + int m_buttonIndex = -1; + int m_treeIndex = -1; QAction *m_addDynamicAction; QAction *m_removeDynamicAction; QAction *m_sortingAction; @@ -174,8 +174,8 @@ private: QAction *m_buttonAction; ElidingLabel *m_classLabel; - bool m_sorting; - bool m_coloring; + bool m_sorting = false; + bool m_coloring = false; QMap<QString, bool> m_expansionState; @@ -184,7 +184,7 @@ private: QPair<QColor, QColor> m_dynamicColor; QPair<QColor, QColor> m_layoutColor; - bool m_brightness; + bool m_brightness = false; }; } // namespace qdesigner_internal |