mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-28 20:32:28 -04:00
RC nag message and expiry
This commit is contained in:
parent
e5f5435d4d
commit
767f53e79e
@ -1024,7 +1024,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 ()));
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->pbBestSP->setVisible(m_mode=="FT4");
|
ui->pbBestSP->setVisible(m_mode=="FT4");
|
||||||
@ -1035,14 +1035,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,
|
||||||
// "This is a pre-release version of WSJT-X 2.3.0 made\n"
|
"This is a pre-release version of WSJT-X 2.4.0 made\n"
|
||||||
// "available for testing purposes. By design it will\n"
|
"available for testing purposes. By design it will\n"
|
||||||
// "be nonfunctional after 0000 UTC on Jan 19, 2021.");
|
"be nonfunctional after Apr 27, 2021.");
|
||||||
// auto now = QDateTime::currentDateTimeUtc ();
|
auto now = QDateTime::currentDateTimeUtc ();
|
||||||
// if (now >= QDateTime {{2021, 1, 19}, {0, 0}, Qt::UTC}) {
|
if (now >= QDateTime {{2021, 4, 27}, {23, 59, 59, 999}, Qt::UTC}) {
|
||||||
// Q_EMIT finished ();
|
Q_EMIT finished ();
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::initialize_fonts ()
|
void MainWindow::initialize_fonts ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user