forked from qt-creator/qt-creator
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:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user