diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2017-10-16 20:47:05 +0200 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2017-10-20 06:34:40 +0000 |
commit | 1d53110402264e294592bb0c0e8a52546bdf426a (patch) | |
tree | 07e6be8f7275709fe252c22cca37cb461dafdceb /src/plugins/designer/formeditorstack.h | |
parent | 72c283afc8d748296dc509fb73848c2607fa7d9f (diff) | |
download | qt-creator-1d53110402264e294592bb0c0e8a52546bdf426a.tar.gz |
Designer: Modernize
* Remove QLatin1{Char|String}
* Use member initialization
* Use range-for
* Use nullptr
Change-Id: I51c24c0a2066861f59731585f19d61b28c76c0a3
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/designer/formeditorstack.h')
-rw-r--r-- | src/plugins/designer/formeditorstack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/designer/formeditorstack.h b/src/plugins/designer/formeditorstack.h index caf8bf5ec6..bed1de4d2b 100644 --- a/src/plugins/designer/formeditorstack.h +++ b/src/plugins/designer/formeditorstack.h @@ -52,7 +52,7 @@ class FormEditorStack : public QStackedWidget Q_OBJECT public: - explicit FormEditorStack(QWidget *parent = 0); + explicit FormEditorStack(QWidget *parent = nullptr); void add(const EditorData &d); @@ -73,7 +73,7 @@ private: inline int indexOfFormEditor(const QObject *xmlEditor) const; QList<EditorData> m_formEditors; - QDesignerFormEditorInterface *m_designerCore; + QDesignerFormEditorInterface *m_designerCore = nullptr; }; } // namespace Internal |