1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-12 18:05:10 +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

@ -10,6 +10,8 @@ void RangeF::resize(qreal size)
QDebug operator<<(QDebug dbg, const RangeF &range)
{
const bool ais = dbg.autoInsertSpaces();
dbg.nospace() << "RangeF(" << range.min() << ", " << range.max() << ")";
dbg.setAutoInsertSpaces(ais);
return dbg.maybeSpace();
}