Disable expiration and associated nag message

This commit is contained in:
Bill Somerville 2019-03-22 22:48:17 +00:00
parent d6eff44b54
commit 760e7b1352
1 changed files with 8 additions and 8 deletions

View File

@ -1001,14 +1001,14 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
void MainWindow::not_GA_warning_message () void MainWindow::not_GA_warning_message ()
{ {
MessageBox::critical_message (this, // MessageBox::critical_message (this,
"<b><p align=\"center\">" // "<b><p align=\"center\">"
"This is a pre-release version of WSJT-X 2.1.0 made " // "This is a pre-release version of WSJT-X 2.1.0 made "
"available for testing purposes. It will become nonfunctional " // "available for testing purposes. It will become nonfunctional "
"after May 1, 2019."); // "after May 1, 2019.");
QDateTime now=QDateTime::currentDateTime(); // QDateTime now=QDateTime::currentDateTime();
QDateTime timeout=QDateTime(QDate(2019,5,1)); // QDateTime timeout=QDateTime(QDate(2019,5,1));
if(now.daysTo(timeout) < 0) Q_EMIT finished(); // if(now.daysTo(timeout) < 0) Q_EMIT finished();
} }
void MainWindow::initialize_fonts () void MainWindow::initialize_fonts ()