# HG changeset patch # User Chris Cannam # Date 1408003904 -3600 # Node ID e927e43e428e8d1f60cea88dfeb429faeb7810cc # Parent 675bc2e08c1157a3a4bddd374fcffbb5259e8d8d Show beta version diff -r 675bc2e08c11 -r e927e43e428e main/MainWindow.cpp --- a/main/MainWindow.cpp Thu Aug 14 09:11:36 2014 +0100 +++ b/main/MainWindow.cpp Thu Aug 14 09:11:44 2014 +0100 @@ -304,12 +304,19 @@ this, SLOT(midiEventsAvailable())); #ifdef BETA_RELEASE + QStringList bits = QString(SV_VERSION).split("."); + QString beta = SV_VERSION; + if (bits.length() == 3) { + beta = QString("%1.%2 beta").arg(bits[0]).arg(bits[1].toInt() + 1); + } QMessageBox::information (this, tr("Test release"), - tr("

This is a test release of %1.

" + tr("

This is a test release of %1 (v%2 / v%3).

" "

See the changelog for details of what has changed since the last release.

" "

Please let us know if you have any problems with this test release, and especially if it crashes. Use the bug tracker or email to report bugs.

Please do not use this software for real work, and do not distribute it to other people who have real work to do! Use it only if you are prepared to report any bugs you find.

") - .arg(QApplication::applicationName())); + .arg(QApplication::applicationName()) + .arg(SV_VERSION) + .arg(beta)); (void)withOSCSupport; // avoid warning #else