Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 662:6f06094daba0
Restore and update old Surveyer class (survey itself is not there yet)
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 11:41:12 +0000 |
parents | 2484381b53a1 |
children | 55efa5a18814 |
line wrap: on
line diff
--- a/main/MainWindow.cpp Tue Nov 26 11:16:58 2013 +0000 +++ b/main/MainWindow.cpp Tue Nov 26 11:41:12 2013 +0000 @@ -82,6 +82,7 @@ #include "rdf/PluginRDFIndexer.h" #include "rdf/RDFExporter.h" +#include "Surveyer.h" #include "framework/VersionTester.h" // For version information @@ -306,8 +307,11 @@ TransformFactory::getInstance()->startPopulationThread(); + m_surveyer = new Surveyer + ("sonicvisualiser.org", "survey23-present.txt", "survey23.php"); + m_versionTester = new VersionTester - ("sonicvisualiser.org", "/latest-version.txt", SV_VERSION); + ("sonicvisualiser.org", "latest-version.txt", SV_VERSION); connect(m_versionTester, SIGNAL(newerVersionAvailable(QString)), this, SLOT(newerVersionAvailable(QString))); } @@ -320,6 +324,7 @@ delete m_preferencesDialog; delete m_layerTreeDialog; delete m_versionTester; + delete m_surveyer; Profiles::getInstance()->dump(); // SVDEBUG << "MainWindow::~MainWindow finishing" << endl; }