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>
This commit is contained in:
Andre Hartmann
2017-10-16 20:47:05 +02:00
committed by André Hartmann
parent 72c283afc8
commit 1d53110402
28 changed files with 161 additions and 184 deletions

View File

@@ -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