diff framework/VersionTester.cpp @ 636:e2715204feaa fix-static-analysis

Use nullptr throughout
author Chris Cannam
date Mon, 26 Nov 2018 14:34:06 +0000
parents b23bebfdfaba
children beefce638f91
line wrap: on
line diff
--- a/framework/VersionTester.cpp	Mon Nov 26 13:53:57 2018 +0000
+++ b/framework/VersionTester.cpp	Mon Nov 26 14:34:06 2018 +0000
@@ -29,7 +29,7 @@
 VersionTester::VersionTester(QString hostname, QString versionFilePath,
                              QString myVersion) :
     m_myVersion(myVersion),
-    m_reply(0),
+    m_reply(nullptr),
     m_httpFailed(false),
     m_nm(new QNetworkAccessManager)
 {
@@ -90,7 +90,7 @@
 VersionTester::finished()
 {
     QNetworkReply *r = m_reply;
-    m_reply = 0;
+    m_reply = nullptr;
 
     r->deleteLater();
     if (m_httpFailed) return;