Mercurial > hg > tony
diff main/MainWindow.cpp @ 609:ef0778016c88
Version and beta warning
author | Chris Cannam |
---|---|
date | Wed, 09 Oct 2019 14:58:10 +0100 |
parents | fd86f443678a |
children | 41e221cd740e |
line wrap: on
line diff
--- a/main/MainWindow.cpp Wed Oct 09 14:02:01 2019 +0100 +++ b/main/MainWindow.cpp Wed Oct 09 14:58:10 2019 +0100 @@ -1264,6 +1264,8 @@ Pane::registerShortcuts(*m_keyReference); updateLayerStatuses(); + + QTimer::singleShot(500, this, SLOT(betaReleaseWarning())); } @@ -3201,6 +3203,14 @@ } void +MainWindow::betaReleaseWarning() +{ + QMessageBox::information + (this, tr("Beta release"), + tr("<b>This is a beta release of %1</b><p>Please see the \"What's New\" option in the Help menu for a list of changes since the last proper release.</p>").arg(QApplication::applicationName())); +} + +void MainWindow::help() { //!!! todo: help URL! @@ -3293,14 +3303,6 @@ void MainWindow::about() { - bool debug = false; - QString version = "(unknown version)"; - -#ifdef BUILD_DEBUG - debug = true; -#endif - version = tr("Release %1").arg(TONY_VERSION); - QString aboutText; aboutText += tr("<h3>About Tony</h3>");