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:
parent
a7e9c95ba2
commit
9b3ed7ef1d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user