Valgrind: Consistently use nullptr

Fixed by clang-tidy modernize-use-nullptr.

Change-Id: I9ae41e4d76168fa5a2e379eb1cdf605e4d106596
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Tobias Hunger
2018-05-07 17:36:56 +02:00
parent f402c22fdf
commit c6ba157155
4 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ class Parser : public QObject
Q_OBJECT
public:
explicit Parser(QObject *parent = 0);
explicit Parser(QObject *parent = nullptr);
~Parser() override;
// get and take ownership of the parsing results. If this function is not called the repository

View File

@@ -38,7 +38,7 @@ class DataProxyModel : public QSortFilterProxyModel
Q_OBJECT
public:
explicit DataProxyModel(QObject *parent = 0);
explicit DataProxyModel(QObject *parent = nullptr);
void setSourceModel(QAbstractItemModel *sourceModel) override;

View File

@@ -38,7 +38,7 @@ class StackBrowser : public QObject
Q_OBJECT
public:
explicit StackBrowser(QObject *parent = 0);
explicit StackBrowser(QObject *parent = nullptr);
void select(const Function *item);
const Function *current() const;

View File

@@ -41,7 +41,7 @@ class ValgrindRunner : public QObject
Q_OBJECT
public:
explicit ValgrindRunner(QObject *parent = 0);
explicit ValgrindRunner(QObject *parent = nullptr);
~ValgrindRunner() override;
void setValgrindExecutable(const QString &executable);