Bump eol date for 1.0 release
This commit is contained in:
parent
b34c0fd2e4
commit
1c1c5bf50a
@ -1619,13 +1619,12 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
if (!m_valid) throw std::runtime_error {"Fatal initialization exception"};
|
if (!m_valid) throw std::runtime_error {"Fatal initialization exception"};
|
||||||
}
|
}
|
||||||
|
|
||||||
QDate eol(2019, 2, 21);
|
QDate eol(2019, 3, 11);
|
||||||
|
|
||||||
void MainWindow::checkExpiryWarningMessage()
|
void MainWindow::checkExpiryWarningMessage()
|
||||||
{
|
{
|
||||||
if(QDateTime::currentDateTimeUtc().date() > eol){
|
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."));
|
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."));
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5955,6 +5954,8 @@ bool MainWindow::ensureCreateMessageReady(const QString &text){
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString MainWindow::createMessage(QString const& text){
|
QString MainWindow::createMessage(QString const& text){
|
||||||
|
checkExpiryWarningMessage();
|
||||||
|
|
||||||
return createMessageTransmitQueue(replaceMacros(text, buildMacroValues(), false), true);
|
return createMessageTransmitQueue(replaceMacros(text, buildMacroValues(), false), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user