From d3750e916761f16b7a085f513fb4fae2fe235511 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Sat, 20 Mar 2021 20:37:32 +0100 Subject: [PATCH] Qt 5.12: Delete obsolete QT_VERSION_CHECK workarounds (follow-up) --- src/track/trackfile.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/track/trackfile.h b/src/track/trackfile.h index 7e037840a94..e1500ed5627 100644 --- a/src/track/trackfile.h +++ b/src/track/trackfile.h @@ -69,11 +69,7 @@ class TrackFile { } QDateTime fileCreated() const { -#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0) return m_fileInfo.birthTime(); -#else - return m_fileInfo.created(); -#endif } QDateTime fileLastModified() const { return m_fileInfo.lastModified(); @@ -117,11 +113,7 @@ inline bool operator!=(const TrackFile& lhs, const TrackFile& rhs) { } inline QDebug operator<<(QDebug debug, const TrackFile& trackFile) { -#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) return debug << trackFile.asFileInfo(); -#else - return debug << trackFile.location(); -#endif } inline uint qHash(