1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed Qt6 Release build

This commit is contained in:
Martin Tůma 2020-12-29 15:17:31 +01:00
parent a7e9c95ba2
commit 9b3ed7ef1d

View File

@ -68,13 +68,12 @@ inline QDataStream &operator>>(QDataStream &in, TimeZoneInfo &info)
return in;
}
#ifndef QT_NO_DEBUG
// Required in Qt6 even in release builds
inline QDebug operator<<(QDebug dbg, const TimeZoneInfo &info)
{
dbg.nospace() << "TimeZoneInfo(" << static_cast<int>(info._type)
<< ", " << info._customZone << ")";
return dbg.space();
}
#endif // QT_NO_DEBUG
#endif // TIMEZONEINFO_H