This commit is contained in:
Jordan Sherer 2019-01-23 20:33:13 -05:00
parent faf653d8ba
commit 33227a648d

View File

@ -1516,12 +1516,12 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
if (!m_valid) throw std::runtime_error {"Fatal initialization exception"};
}
QDate eol(2019, 1, 23);
QDate eol(2019, 2, 7);
void MainWindow::checkExpiryWarningMessage()
{
if(QDateTime::currentDateTimeUtc().date() > eol){
MessageBox::critical_message (this, QString("This pre-release development build of JS8Call has expired. Please upgrade to the latest version."));
MessageBox::critical_message (this, QString("This pre-release development build of JS8Call has reached its end-of-live. Please check for an upgrade to the latest version. In the meantime, the software will continue to operate as usual."));
return;
}
}