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

@@ -75,11 +75,11 @@ public:
// all tools that are preset (changed or unchanged) have the original value here:
QSharedPointer<ExternalTool> preset() const;
static ExternalTool *createFromXml(const QByteArray &xml, QString *errorMessage = 0, const QString &locale = QString());
static ExternalTool *createFromFile(const QString &fileName, QString *errorMessage = 0,
static ExternalTool *createFromXml(const QByteArray &xml, QString *errorMessage = nullptr, const QString &locale = QString());
static ExternalTool *createFromFile(const QString &fileName, QString *errorMessage = nullptr,
const QString &locale = QString());
bool save(QString *errorMessage = 0) const;
bool save(QString *errorMessage = nullptr) const;
bool operator==(const ExternalTool &other) const;
bool operator!=(const ExternalTool &other) const { return !((*this) == other); }