forked from qt-creator/qt-creator
Utils: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr. Change-Id: I93edae67271a521e3b2a1f97f486e5fa97009836 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ebf2d6f4e2
commit
63ef88d015
@@ -43,7 +43,7 @@ class QTCREATOR_UTILS_EXPORT Wizard : public QWizard
|
||||
Q_PROPERTY(bool automaticProgressCreationEnabled READ isAutomaticProgressCreationEnabled WRITE setAutomaticProgressCreationEnabled)
|
||||
|
||||
public:
|
||||
explicit Wizard(QWidget *parent = 0, Qt::WindowFlags flags = 0);
|
||||
explicit Wizard(QWidget *parent = nullptr, Qt::WindowFlags flags = nullptr);
|
||||
~Wizard() override;
|
||||
|
||||
bool isAutomaticProgressCreationEnabled() const;
|
||||
@@ -93,7 +93,7 @@ class QTCREATOR_UTILS_EXPORT WizardProgress : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
WizardProgress(QObject *parent = 0);
|
||||
WizardProgress(QObject *parent = nullptr);
|
||||
~WizardProgress() override;
|
||||
|
||||
WizardProgressItem *addItem(const QString &title);
|
||||
|
||||
Reference in New Issue
Block a user