comparison main/MainWindow.cpp @ 770:e927e43e428e 2.4beta1

Show beta version
author Chris Cannam
date Thu, 14 Aug 2014 09:11:44 +0100
parents 91d821455fa5
children 4a7c62938a13
comparison
equal deleted inserted replaced
769:675bc2e08c11 770:e927e43e428e
302 302
303 connect(m_midiInput, SIGNAL(eventsAvailable()), 303 connect(m_midiInput, SIGNAL(eventsAvailable()),
304 this, SLOT(midiEventsAvailable())); 304 this, SLOT(midiEventsAvailable()));
305 305
306 #ifdef BETA_RELEASE 306 #ifdef BETA_RELEASE
307 QStringList bits = QString(SV_VERSION).split(".");
308 QString beta = SV_VERSION;
309 if (bits.length() == 3) {
310 beta = QString("%1.%2 beta").arg(bits[0]).arg(bits[1].toInt() + 1);
311 }
307 QMessageBox::information 312 QMessageBox::information
308 (this, tr("Test release"), 313 (this, tr("Test release"),
309 tr("<p>This is a test release of %1.</p>" 314 tr("<p>This is a test release of %1 (v%2 / v%3).</p>"
310 "<p>See the <a href=\"http://code.soundsoftware.ac.uk/projects/sonic-visualiser/repository/entry/CHANGELOG\">changelog</a> for details of what has changed since the last release.</p>" 315 "<p>See the <a href=\"http://code.soundsoftware.ac.uk/projects/sonic-visualiser/repository/entry/CHANGELOG\">changelog</a> for details of what has changed since the last release.</p>"
311 "<p>Please let us know if you have any problems with this test release, and especially if it crashes. Use the <a href=\"http://sourceforge.net/p/sv1/bugs/\">bug tracker</a> or <a href=\"mailto:cannam+sv@all-day-breakfast.com\">email</a> to report bugs.</p><p>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.</p>") 316 "<p>Please let us know if you have any problems with this test release, and especially if it crashes. Use the <a href=\"http://sourceforge.net/p/sv1/bugs/\">bug tracker</a> or <a href=\"mailto:cannam+sv@all-day-breakfast.com\">email</a> to report bugs.</p><p>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.</p>")
312 .arg(QApplication::applicationName())); 317 .arg(QApplication::applicationName())
318 .arg(SV_VERSION)
319 .arg(beta));
313 320
314 (void)withOSCSupport; // avoid warning 321 (void)withOSCSupport; // avoid warning
315 #else 322 #else
316 NetworkPermissionTester tester; 323 NetworkPermissionTester tester;
317 bool networkPermission = tester.havePermission(); 324 bool networkPermission = tester.havePermission();