mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-02 13:17:49 -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 ();
|
if (m_splash && m_splash->isVisible ()) m_splash->hide ();
|
||||||
m_rigErrorMessageBox.setDetailedText (reason + "\n\nTimestamp: "
|
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
|
// don't call slot functions directly to avoid recursion
|
||||||
m_rigErrorMessageBox.exec ();
|
m_rigErrorMessageBox.exec ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user