mirror of https://github.com/saitohirga/WSJT-X.git
Add a timeout message for what will become v2.1.0-rc1.
This commit is contained in:
parent
ffb6d3624f
commit
212e4a3c07
|
@ -988,7 +988,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||||
|
|
||||||
if(QCoreApplication::applicationVersion().contains("-devel") or
|
if(QCoreApplication::applicationVersion().contains("-devel") or
|
||||||
QCoreApplication::applicationVersion().contains("-rc")) {
|
QCoreApplication::applicationVersion().contains("-rc")) {
|
||||||
// QTimer::singleShot (0, this, SLOT (not_GA_warning_message ()));
|
QTimer::singleShot (0, this, SLOT (not_GA_warning_message ()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!ui->cbMenus->isChecked()) {
|
if(!ui->cbMenus->isChecked()) {
|
||||||
|
@ -1003,18 +1003,12 @@ void MainWindow::not_GA_warning_message ()
|
||||||
{
|
{
|
||||||
MessageBox::critical_message (this,
|
MessageBox::critical_message (this,
|
||||||
"<b><p align=\"center\">"
|
"<b><p align=\"center\">"
|
||||||
"IMPORTANT: New protocols for the FT8 and MSK144 modes "
|
"This is a pre-release version of WSJT-X 2.1.0 made "
|
||||||
"became the world‑wide standards on December 10, 2018."
|
"available for testing purposes. It will become nonfunctional "
|
||||||
, "<p align=\"center\">"
|
"after May 1, 2019.");
|
||||||
"WSJT‑X 2.0 cannot communicate in these modes with other "
|
QDateTime now=QDateTime::currentDateTime();
|
||||||
"stations using WSJT‑X v1.9.1 or earlier."
|
QDateTime timeout=QDateTime(QDate(2019,5,1));
|
||||||
"<p align=\"center\">"
|
if(now.daysTo(timeout) < 0) Q_EMIT finished();
|
||||||
"Please help by urging everyone to upgrade to WSJT‑X 2.0 "
|
|
||||||
"<nobr>no later than January 1, 2019.</nobr>");
|
|
||||||
|
|
||||||
// QDateTime now=QDateTime::currentDateTime();
|
|
||||||
// QDateTime timeout=QDateTime(QDate(2018,12,31));
|
|
||||||
// if(now.daysTo(timeout) < 0) Q_EMIT finished();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::initialize_fonts ()
|
void MainWindow::initialize_fonts ()
|
||||||
|
|
Loading…
Reference in New Issue