Mercurial > hg > sonic-visualiser
comparison main/Surveyer.cpp @ 666:7707d9175d55
Fix uninitialised pointer (and consequent crash on exit)
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:34:55 +0000 |
parents | 17fe7e0c23a1 |
children | 06f061c54b66 |
comparison
equal
deleted
inserted
replaced
665:17fe7e0c23a1 | 666:7707d9175d55 |
---|---|
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_nm(new QNetworkAccessManager) | 38 m_nm(new QNetworkAccessManager) |
38 { | 39 { |
39 QSettings settings; | 40 QSettings settings; |
40 settings.beginGroup("Survey"); | 41 settings.beginGroup("Survey"); |
41 if (!settings.contains("countdown")) { | 42 if (!settings.contains("countdown")) { |