mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
log QFlags without double-quotes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
0dd6e9ef1e
commit
04df82a5b2
1 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,8 @@ inline QDebug operator<<(QDebug debug, const QFlags<T> &flags)
|
||||||
debug.nospace() << '|';
|
debug.nospace() << '|';
|
||||||
else
|
else
|
||||||
needSeparator = true;
|
needSeparator = true;
|
||||||
debug.nospace() << "0x" << QByteArray::number(T(1 << i), 16);
|
const QByteArray flagnumber = QByteArray::number(T(1 << i), 16);
|
||||||
|
debug.nospace() << "0x" << flagnumber.constData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
debug << ')';
|
debug << ')';
|
||||||
|
|
Loading…
Add table
Reference in a new issue