From 24b9da7c1b632d0ed1cbbac0cd60863f7c542672 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 26 Sep 2020 21:09:45 +0100 Subject: [PATCH] Enable RC nag message and time limit --- widgets/mainwindow.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 2774cad8b..682fb9ad1 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -1043,14 +1043,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.2.0 made\n" - // "available for testing purposes. By design it will\n" - // "be nonfunctional after 0000 UTC on June 10, 2020."); - // auto now = QDateTime::currentDateTimeUtc (); - // if (now >= QDateTime {{2020, 6, 10}, {0, 0}, Qt::UTC}) { - // Q_EMIT finished (); - // } + MessageBox::critical_message (this, + "This is a pre-release version of WSJT-X 2.3.0 made\n" + "available for testing purposes. By design it will\n" + "be nonfunctional after 0000 UTC on Nov 17, 2020."); + auto now = QDateTime::currentDateTimeUtc (); + if (now >= QDateTime {{2020, 11, 17}, {0, 0}, Qt::UTC}) { + Q_EMIT finished (); + } } void MainWindow::initialize_fonts ()