1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-07 08:02:50 +02:00

Improved debug output

This commit is contained in:
2017-08-14 11:16:48 +02:00
parent b3f1596918
commit afe9a14d5b
10 changed files with 36 additions and 6 deletions

View File

@ -58,6 +58,8 @@ void RectC::unite(const Coordinates &c)
QDebug operator<<(QDebug dbg, const RectC &rect)
{
const bool ais = dbg.autoInsertSpaces();
dbg.nospace() << "RectC(" << rect.topLeft() << ", " << rect.size() << ")";
dbg.setAutoInsertSpaces(ais);
return dbg.maybeSpace();
}