mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-20 19:19:02 -04:00
Qt <5.8 compatibility
This commit is contained in:
parent
21b57dbe6f
commit
3629a4e071
@ -7249,7 +7249,12 @@ void MainWindow::rigFailure (QString const& reason)
|
||||
{
|
||||
if (m_splash && m_splash->isVisible ()) m_splash->hide ();
|
||||
m_rigErrorMessageBox.setDetailedText (reason + "\n\nTimestamp: "
|
||||
+ QDateTime::currentDateTimeUtc ().toString (Qt::ISODateWithMs));
|
||||
#if QT_VERSION >= QT_VERSION_CHECK (5, 8, 0)
|
||||
+ QDateTime::currentDateTimeUtc ().toString (Qt::ISODateWithMs)
|
||||
#else
|
||||
+ QDateTime::currentDateTimeUtc ().toString ("yyyy-MM-ddTHH:mm:ss.zzzZ")
|
||||
#endif
|
||||
);
|
||||
|
||||
// don't call slot functions directly to avoid recursion
|
||||
m_rigErrorMessageBox.exec ();
|
||||
|
Loading…
Reference in New Issue
Block a user