diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-06-01 17:00:02 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-06-02 09:54:19 +0000 |
commit | 2189464a840a13a51a99458a364667c40d09fb75 (patch) | |
tree | a9498aa7f00927a715046a023cc22968378d0e12 /src/plugins/designer/editordata.h | |
parent | 9572b6f7397181be0056689de010d64959cac2aa (diff) | |
download | qt-creator-2189464a840a13a51a99458a364667c40d09fb75.tar.gz |
Qt Designer plugin: Use C++ 11 member initialization.
Simplify/obsolete constructors accordingly.
Change-Id: Id7b974317f2be81a89ff3a279eed95171d34991f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/designer/editordata.h')
-rw-r--r-- | src/plugins/designer/editordata.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/designer/editordata.h b/src/plugins/designer/editordata.h index 74b429c2e4..aada8d9b54 100644 --- a/src/plugins/designer/editordata.h +++ b/src/plugins/designer/editordata.h @@ -42,11 +42,10 @@ namespace Internal { class EditorData { public: - EditorData() : formWindowEditor(0), widgetHost(0) {} operator bool() const { return formWindowEditor != 0; } - FormWindowEditor *formWindowEditor; - SharedTools::WidgetHost *widgetHost; + FormWindowEditor *formWindowEditor = nullptr; + SharedTools::WidgetHost *widgetHost = nullptr; }; } // namespace Internal |