Release prep

This commit is contained in:
Bill Somerville 2021-10-21 00:43:01 +01:00
parent d083346597
commit d732537b59
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
2 changed files with 9 additions and 10 deletions

View File

@ -71,7 +71,7 @@ message (STATUS "******************************************************")
include (set_build_type)
# RC 0 or omitted is a development build, GA is a General Availability release build
set_build_type (RC 1)
set_build_type (RC GA)
set (wsjtx_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}${BUILD_TYPE_REVISION}")
#

View File

@ -1024,15 +1024,14 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
void MainWindow::not_GA_warning_message ()
{
MessageBox::critical_message (this,
"This is a pre-release version of WSJT-X " + version (false) + " made\n"
"available for testing purposes. By design it will\n"
"be nonfunctional after Nov 30, 2021.");
auto now = QDateTime::currentDateTimeUtc ();
if (now >= QDateTime {{2021, 11, 30}, {23, 59, 59, 999}, Qt::UTC}) {
Q_EMIT finished ();
}
// MessageBox::critical_message (this,
// "This is a pre-release version of WSJT-X " + version (false) + " made\n"
// "available for testing purposes. By design it will\n"
// "be nonfunctional after Nov 30, 2021.");
// auto now = QDateTime::currentDateTimeUtc ();
// if (now >= QDateTime {{2021, 11, 30}, {23, 59, 59, 999}, Qt::UTC}) {
// Q_EMIT finished ();
// }
}
void MainWindow::initialize_fonts ()