Use dedicated function for chopping QByteArray
Change-Id: I03f5e782a3d5d63540db9a5fdd1d432e71b5eec5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>bb10
parent
2f2340c97e
commit
2242887e5c
|
|
@ -2002,8 +2002,7 @@ QDebug operator<<(QDebug dbg, const QMatrix4x4 &m)
|
|||
bits += "Rotation,";
|
||||
if ((m.flagBits & QMatrix4x4::Perspective) != 0)
|
||||
bits += "Perspective,";
|
||||
if (bits.size() > 0)
|
||||
bits = bits.left(bits.size() - 1);
|
||||
bits.chop(1);
|
||||
}
|
||||
|
||||
// Output in row-major order because it is more human-readable.
|
||||
|
|
|
|||
Loading…
Reference in New Issue