Core: Consistently use nullptr

Fixed by clang-tidy modernize-use-nullptr.

Change-Id: I62a9388ab873410555f45a8a6f9b0149467ddbaa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tobias Hunger
2018-05-07 17:34:42 +02:00
parent e2c4186f99
commit 05dd3285fc
44 changed files with 74 additions and 74 deletions

View File

@@ -41,8 +41,8 @@ class CORE_EXPORT CommandButton : public QToolButton
Q_OBJECT
Q_PROPERTY(QString toolTipBase READ toolTipBase WRITE setToolTipBase)
public:
explicit CommandButton(QWidget *parent = 0);
explicit CommandButton(Id id, QWidget *parent = 0);
explicit CommandButton(QWidget *parent = nullptr);
explicit CommandButton(Id id, QWidget *parent = nullptr);
void setCommandId(Id id);
QString toolTipBase() const;
void setToolTipBase(const QString &toolTipBase);