diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2020-02-05 14:34:41 +0300 |
---|---|---|
committer | Olivier Goffart <olivier@woboq.com> | 2020-02-10 18:41:07 +0300 |
commit | fc69d5271e674bde6b71ba46b1d86588b9b30705 (patch) | |
tree | 9b239a78d1404755ff151cdceb4943b57870c6b8 /test | |
parent | 146d75a2d601509157a0fcd981ef0209926e7d6c (diff) |
Run clang-tidy check for modernize-use-nullptr
Diffstat (limited to 'test')
-rw-r--r-- | test/syncenginetestutils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/syncenginetestutils.h b/test/syncenginetestutils.h index 2c7f83a7a..3c154ca76 100644 --- a/test/syncenginetestutils.h +++ b/test/syncenginetestutils.h @@ -270,7 +270,7 @@ public: } return file; } - return 0; + return nullptr; } FileInfo *createDir(const QString &relativePath) { @@ -1113,7 +1113,7 @@ public: protected: QNetworkReply *createRequest(Operation op, const QNetworkRequest &request, - QIODevice *outgoingData = 0) override { + QIODevice *outgoingData = nullptr) override { if (_override) { if (auto reply = _override(op, request, outgoingData)) return reply; @@ -1214,7 +1214,7 @@ public: auto opts = _syncEngine->syncOptions(); opts._vfs->stop(); - QObject::disconnect(_syncEngine.get(), 0, opts._vfs.data(), 0); + QObject::disconnect(_syncEngine.get(), nullptr, opts._vfs.data(), nullptr); opts._vfs = vfs; _syncEngine->setSyncOptions(opts); |