Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 1521:f016667b4adb 3.0-integration
Show warning about beta release
author | Chris Cannam |
---|---|
date | Tue, 10 Jan 2017 16:04:03 +0000 |
parents | e528184a0ccc |
children | 44e09e1996a3 |
comparison
equal
deleted
inserted
replaced
1520:a2801c212fbf | 1521:f016667b4adb |
---|---|
333 } else { | 333 } else { |
334 m_surveyer = 0; | 334 m_surveyer = 0; |
335 m_versionTester = 0; | 335 m_versionTester = 0; |
336 } | 336 } |
337 | 337 |
338 QTimer::singleShot(500, this, SLOT(betaReleaseWarning())); | |
339 | |
338 QString warning = PluginScan::getInstance()->getStartupFailureReport(); | 340 QString warning = PluginScan::getInstance()->getStartupFailureReport(); |
339 if (warning != "") { | 341 if (warning != "") { |
340 QTimer::singleShot(500, this, SLOT(pluginPopulationWarning())); | 342 QTimer::singleShot(500, this, SLOT(pluginPopulationWarning())); |
341 } | 343 } |
342 } | 344 } |
4274 tr("<b>Overloaded</b><p>Audio playback speed processing has been reduced to a single channel, due to a processing overload.")); | 4276 tr("<b>Overloaded</b><p>Audio playback speed processing has been reduced to a single channel, due to a processing overload.")); |
4275 shownOnce = true; | 4277 shownOnce = true; |
4276 } | 4278 } |
4277 | 4279 |
4278 void | 4280 void |
4281 MainWindow::betaReleaseWarning() | |
4282 { | |
4283 QMessageBox::information | |
4284 (this, tr("Beta release"), | |
4285 tr("<b>This is a beta release of Sonic Visualiser</b><p>Please see the \"What's New\" option in the Help menu for a list of changes since the last proper release.</p>")); | |
4286 } | |
4287 | |
4288 void | |
4279 MainWindow::pluginPopulationWarning() | 4289 MainWindow::pluginPopulationWarning() |
4280 { | 4290 { |
4281 QString scanWarning = PluginScan::getInstance()->getStartupFailureReport(); | 4291 QString scanWarning = PluginScan::getInstance()->getStartupFailureReport(); |
4282 QString factWarning = TransformFactory::getInstance()->getStartupFailureReport(); | 4292 QString factWarning = TransformFactory::getInstance()->getStartupFailureReport(); |
4283 QString warning; | 4293 QString warning; |