Mercurial > hg > sonic-visualiser
comparison main/Surveyer.cpp @ 2126:0b15f3b16776 fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:35:05 +0000 |
parents | 06f061c54b66 |
children | 62b1a3a242ee |
comparison
equal
deleted
inserted
replaced
2125:124de219669f | 2126:0b15f3b16776 |
---|---|
32 Surveyer::Surveyer(QString hostname, QString testPath, QString surveyPath) : | 32 Surveyer::Surveyer(QString hostname, QString testPath, QString surveyPath) : |
33 m_httpFailed(false), | 33 m_httpFailed(false), |
34 m_hostname(hostname), | 34 m_hostname(hostname), |
35 m_testPath(testPath), | 35 m_testPath(testPath), |
36 m_surveyPath(surveyPath), | 36 m_surveyPath(surveyPath), |
37 m_reply(0), | 37 m_reply(nullptr), |
38 m_nm(new QNetworkAccessManager) | 38 m_nm(new QNetworkAccessManager) |
39 { | 39 { |
40 QSettings settings; | 40 QSettings settings; |
41 settings.beginGroup("Survey"); | 41 settings.beginGroup("Survey"); |
42 if (!settings.contains("countdown")) { | 42 if (!settings.contains("countdown")) { |