mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +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;
|
return in;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef QT_NO_DEBUG
|
// Required in Qt6 even in release builds
|
||||||
inline QDebug operator<<(QDebug dbg, const TimeZoneInfo &info)
|
inline QDebug operator<<(QDebug dbg, const TimeZoneInfo &info)
|
||||||
{
|
{
|
||||||
dbg.nospace() << "TimeZoneInfo(" << static_cast<int>(info._type)
|
dbg.nospace() << "TimeZoneInfo(" << static_cast<int>(info._type)
|
||||||
<< ", " << info._customZone << ")";
|
<< ", " << info._customZone << ")";
|
||||||
return dbg.space();
|
return dbg.space();
|
||||||
}
|
}
|
||||||
#endif // QT_NO_DEBUG
|
|
||||||
|
|
||||||
#endif // TIMEZONEINFO_H
|
#endif // TIMEZONEINFO_H
|
||||||
|
Loading…
Reference in New Issue
Block a user