From 1c1c5bf50a480b78f749b7997f0d89cf0bb56e8b Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 20 Feb 2019 23:09:54 -0500 Subject: [PATCH] Bump eol date for 1.0 release --- mainwindow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index cf68c86..fe18390 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1619,13 +1619,12 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, if (!m_valid) throw std::runtime_error {"Fatal initialization exception"}; } -QDate eol(2019, 2, 21); +QDate eol(2019, 3, 11); void MainWindow::checkExpiryWarningMessage() { if(QDateTime::currentDateTimeUtc().date() > eol){ - MessageBox::critical_message (this, QString("This pre-release development build of JS8Call has reached its end-of-life. Please check for an upgrade to the latest version. In the meantime, the software will continue to operate as usual.")); - return; + MessageBox::critical_message (this, QString("This pre-release development build of JS8Call has reached its end-of-life. Please check for an upgrade to the latest version.")); } } @@ -5955,6 +5954,8 @@ bool MainWindow::ensureCreateMessageReady(const QString &text){ } QString MainWindow::createMessage(QString const& text){ + checkExpiryWarningMessage(); + return createMessageTransmitQueue(replaceMacros(text, buildMacroValues(), false), true); }