# HG changeset patch # User Chris Cannam # Date 1484064243 0 # Node ID f016667b4adb9e0c3889b0e3e290e6eb9b8b9402 # Parent a2801c212fbfb6157134c4da2cbd2e3ba4ed4ad4 Show warning about beta release diff -r a2801c212fbf -r f016667b4adb main/MainWindow.cpp --- a/main/MainWindow.cpp Tue Jan 10 15:56:01 2017 +0000 +++ b/main/MainWindow.cpp Tue Jan 10 16:04:03 2017 +0000 @@ -335,6 +335,8 @@ m_versionTester = 0; } + QTimer::singleShot(500, this, SLOT(betaReleaseWarning())); + QString warning = PluginScan::getInstance()->getStartupFailureReport(); if (warning != "") { QTimer::singleShot(500, this, SLOT(pluginPopulationWarning())); @@ -4276,6 +4278,14 @@ } void +MainWindow::betaReleaseWarning() +{ + QMessageBox::information + (this, tr("Beta release"), + tr("This is a beta release of Sonic Visualiser
Please see the \"What's New\" option in the Help menu for a list of changes since the last proper release.
")); +} + +void MainWindow::pluginPopulationWarning() { QString scanWarning = PluginScan::getInstance()->getStartupFailureReport(); diff -r a2801c212fbf -r f016667b4adb main/MainWindow.h --- a/main/MainWindow.h Tue Jan 10 15:56:01 2017 +0000 +++ b/main/MainWindow.h Tue Jan 10 16:04:03 2017 +0000 @@ -155,6 +155,7 @@ virtual void midiEventsAvailable(); virtual void playStatusChanged(bool); + virtual void betaReleaseWarning(); virtual void pluginPopulationWarning(); virtual void saveSessionAsTemplate();