Core/Utils: Use {} instead of nullptr for flags

Deprecated in current 5.15

Change-Id: I4222c67f2da3919e3476178f52dae909327431d4
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
hjk
2020-01-17 12:16:38 +01:00
parent 7021b1f078
commit 7992f7f538
7 changed files with 8 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ class QTCREATOR_UTILS_EXPORT Wizard : public QWizard
Q_PROPERTY(bool automaticProgressCreationEnabled READ isAutomaticProgressCreationEnabled WRITE setAutomaticProgressCreationEnabled)
public:
explicit Wizard(QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr);
explicit Wizard(QWidget *parent = nullptr, Qt::WindowFlags flags = {});
~Wizard() override;
bool isAutomaticProgressCreationEnabled() const;