mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-31 21:22:27 -04:00
Keep compliance back to Qt 5.2
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6842 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
ed6a3fd979
commit
c5fd06d6a5
@ -2523,7 +2523,11 @@ void MainWindow::guiUpdate()
|
|||||||
auto const& message = tr ("Please choose another Tx frequency.\n"
|
auto const& message = tr ("Please choose another Tx frequency.\n"
|
||||||
"WSJT-X will not knowingly transmit another\n"
|
"WSJT-X will not knowingly transmit another\n"
|
||||||
"mode in the WSPR sub-band on 30 m.");
|
"mode in the WSPR sub-band on 30 m.");
|
||||||
|
#if QT_VERSION >= 0x050400
|
||||||
QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate
|
QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate
|
||||||
|
#else
|
||||||
|
msgBox (message);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2532,7 +2536,11 @@ void MainWindow::guiUpdate()
|
|||||||
m_bTxTime=false;
|
m_bTxTime=false;
|
||||||
if (m_tune) stop_tuning ();
|
if (m_tune) stop_tuning ();
|
||||||
if (m_auto) auto_tx_mode (false);
|
if (m_auto) auto_tx_mode (false);
|
||||||
|
#if QT_VERSION >= 0x050400
|
||||||
QTimer::singleShot (0, [=] {msgBox ("Runaway Tx watchdog");}); // don't block guiUpdate
|
QTimer::singleShot (0, [=] {msgBox ("Runaway Tx watchdog");}); // don't block guiUpdate
|
||||||
|
#else
|
||||||
|
msgBox ("Runaway Tx watchdog");
|
||||||
|
#endif
|
||||||
m_repeatMsg = 0;
|
m_repeatMsg = 0;
|
||||||
updateProgressBarFormat (true);
|
updateProgressBarFormat (true);
|
||||||
}
|
}
|
||||||
@ -2669,7 +2677,11 @@ void MainWindow::guiUpdate()
|
|||||||
{
|
{
|
||||||
auto const& message = tr ("Cannot open \"%1\" for append: %2")
|
auto const& message = tr ("Cannot open \"%1\" for append: %2")
|
||||||
.arg (f.fileName ()).arg (f.errorString ());
|
.arg (f.fileName ()).arg (f.errorString ());
|
||||||
|
#if QT_VERSION >= 0x050400
|
||||||
QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate
|
QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate
|
||||||
|
#else
|
||||||
|
msgBox (message);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if (m_config.TX_messages ())
|
if (m_config.TX_messages ())
|
||||||
{
|
{
|
||||||
@ -2769,7 +2781,11 @@ void MainWindow::guiUpdate()
|
|||||||
} else {
|
} else {
|
||||||
auto const& message = tr ("Cannot open \"%1\" for append: %2")
|
auto const& message = tr ("Cannot open \"%1\" for append: %2")
|
||||||
.arg (f.fileName ()).arg(f.errorString ());
|
.arg (f.fileName ()).arg(f.errorString ());
|
||||||
|
#if QT_VERSION >= 0x050400
|
||||||
QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate
|
QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate
|
||||||
|
#else
|
||||||
|
msgBox (message);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user