diff options
author | hjk <hjk@qt.io> | 2019-07-31 17:21:41 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-08-01 13:20:26 +0000 |
commit | 2e14df7561ee10c7a408bd3ebb4944016ecdd1f4 (patch) | |
tree | 4a220241720e8a307fb96e98941656cf7b9f940d /src/plugins/qmlpreview | |
parent | 630385751a806b64d41295ee50957e2a9138a193 (diff) |
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/qmlpreview')
-rw-r--r-- | src/plugins/qmlpreview/qmlpreviewfileontargetfinder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlpreview/qmlpreviewfileontargetfinder.h b/src/plugins/qmlpreview/qmlpreviewfileontargetfinder.h index e62396b8cf..d3b30c5ada 100644 --- a/src/plugins/qmlpreview/qmlpreviewfileontargetfinder.h +++ b/src/plugins/qmlpreview/qmlpreviewfileontargetfinder.h @@ -42,8 +42,8 @@ public: void setTarget(ProjectExplorer::Target *target); ProjectExplorer::Target *target() const; - QString findPath(const QString &filePath, bool *success = 0) const; - QUrl findUrl(const QString &filePath, bool *success = 0) const; + QString findPath(const QString &filePath, bool *success = nullptr) const; + QUrl findUrl(const QString &filePath, bool *success = nullptr) const; private: QPointer<ProjectExplorer::Target> m_target; |