Disable nag message

This commit is contained in:
Bill Somerville 2021-05-29 14:31:18 +01:00
parent 5f6184f2b9
commit ffa24eca96
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 30, 2021.");
auto now = QDateTime::currentDateTimeUtc ();
if (now >= QDateTime {{2021, 5, 30}, {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 30, 2021.");
// auto now = QDateTime::currentDateTimeUtc ();
// if (now >= QDateTime {{2021, 5, 30}, {23, 59, 59, 999}, Qt::UTC}) {
// Q_EMIT finished ();
// }
}
void MainWindow::initialize_fonts ()