Disable nag message

This commit is contained in:
Bill Somerville 2021-03-05 12:14:50 +00:00
parent 878e351146
commit 2decf7473a
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -1031,14 +1031,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 2.4.0 made\n"
"available for testing purposes. By design it will\n"
"be nonfunctional after May 25, 2021.");
auto now = QDateTime::currentDateTimeUtc ();
if (now >= QDateTime {{2021, 5, 25}, {23, 59, 59, 999}, Qt::UTC}) {
Q_EMIT finished ();
}
// MessageBox::critical_message (this,
// "This is a pre-release version of WSJT-X 2.4.0 made\n"
// "available for testing purposes. By design it will\n"
// "be nonfunctional after May 25, 2021.");
// auto now = QDateTime::currentDateTimeUtc ();
// if (now >= QDateTime {{2021, 5, 25}, {23, 59, 59, 999}, Qt::UTC}) {
// Q_EMIT finished ();
// }
}
void MainWindow::initialize_fonts ()