summaryrefslogtreecommitdiff
path: root/widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2021-02-01 21:15:40 +0100
committerChristoph Berg <myon@debian.org>2021-02-01 21:15:40 +0100
commit2d5d428222cedf45579e48d29e8e57b5ef464fcd (patch)
tree5fd43ef4e65c28483006a958d41413b665173c3c /widgets/mainwindow.cpp
parent6e292338af5ca086709327332216935f131aa688 (diff)
parent3209ca0e2d4243c861c3d1d6022ba1da4f9f2fc8 (diff)
Update upstream source from tag 'upstream/2.3.0+repack'
Update to upstream version '2.3.0+repack' with Debian dir 006c3fb660cf005009969f52d0ddbe4d85faf44f
Diffstat (limited to 'widgets/mainwindow.cpp')
-rw-r--r--widgets/mainwindow.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
index 7ddeee77..0c94507b 100644
--- a/widgets/mainwindow.cpp
+++ b/widgets/mainwindow.cpp
@@ -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 ();