Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 2536:32718f05903d
Aim to ensure we have feedback request in packages we build only (not in distro builds etc)
author | Chris Cannam |
---|---|
date | Wed, 13 May 2020 14:08:38 +0100 |
parents | 62b1a3a242ee |
children | 11a552b3ad88 |
comparison
equal
deleted
inserted
replaced
2535:62b1a3a242ee | 2536:32718f05903d |
---|---|
337 SVDEBUG << "MainWindow: Starting transform population thread" << endl; | 337 SVDEBUG << "MainWindow: Starting transform population thread" << endl; |
338 TransformFactory::getInstance()->startPopulationThread(); | 338 TransformFactory::getInstance()->startPopulationThread(); |
339 | 339 |
340 m_surveyer = nullptr; | 340 m_surveyer = nullptr; |
341 | 341 |
342 //#define WITH_SURVEY 1 | 342 #ifdef WITH_FEEDBACK_REQUEST |
343 #ifdef WITH_SURVEY | |
344 SVDEBUG << "MainWindow: Creating surveyer" << endl; | 343 SVDEBUG << "MainWindow: Creating surveyer" << endl; |
345 Surveyer::Config config; | 344 Surveyer::Config config; |
346 config.hostname = "sonicvisualiser.org"; | 345 config.hostname = "sonicvisualiser.org"; |
347 config.testPath = "feedback41-present.txt"; | 346 config.testPath = "feedback41-present.txt"; |
348 config.surveyPath = "feedback41.php"; | 347 config.surveyPath = "feedback41.php"; |
349 config.countdownKey = "countdown41"; | 348 config.countdownKey = "countdown41"; |
350 config.countdownFrom = 1; | 349 config.countdownFrom = 1; |
351 config.title = "Sonic Visualiser - Can you help?"; | 350 config.title = "Sonic Visualiser - Can you help?"; |
352 config.text = "<h3>Sonic Visualiser: Can you help?</h3><p>Are you using Sonic Visualiser for research or commercial purposes? Or do you intend to do so?</p><p>In the Centre for Digital Music, where Sonic Visualiser is made, we are gathering information about the impact of our work, to guide our future actions.</p><p>Would you be interested in giving us your contact details, and a description of the work you do that is related to Sonic Visualiser?</p><p>Anything you tell us will be used only to guide research and development at Queen Mary University of London.</p>"; | 351 config.text = "<h3>Sonic Visualiser: Can you help?</h3><p>" |
352 "<p>Are you using Sonic Visualiser in academic research or for commercial purposes? Or do you intend to do so?</p>" | |
353 "<p>If so, would you be interested in telling us something about your work? We are gathering case studies to gauge the impact of our work and to guide our future actions.</p><p>Anything you tell us will be used only to guide research and development at the Centre for Digital Music, Queen Mary University of London.</p>"; | |
353 config.acceptLabel = tr("Yes, I'd be happy to"); | 354 config.acceptLabel = tr("Yes, I'd be happy to"); |
354 config.rejectLabel = tr("No, thank you"); | 355 config.rejectLabel = tr("No, thank you"); |
355 config.includeSystemInfo = false; | 356 config.includeSystemInfo = false; |
356 m_surveyer = new Surveyer(config); | 357 m_surveyer = new Surveyer(config); |
357 #endif | 358 #endif |