forked from qt-creator/qt-creator
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:
committed by
André Hartmann
parent
72c283afc8
commit
1d53110402
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user