Workaround 5.15 deprecations in QTextStreams

Change-Id: Ifc2b7fd353e7c12346e9716115e830679cea7666
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2020-01-17 14:37:08 +01:00
committed by hjk
parent 37e7b72609
commit 7021b1f078
9 changed files with 55 additions and 56 deletions

View File

@@ -84,8 +84,8 @@ QDebug operator<<(QDebug d, const CompletionEntry &e)
QDebugStateSaver saver(d);
d.noquote();
d.nospace();
d << "CompletionEntry(\"" << e.text << "\", flags=" << hex
<< showbase << int(e.findFlags) << dec << noshowbase << ')';
d << "CompletionEntry(\"" << e.text << "\", flags="
<< "0x" << QString::number(e.findFlags, 16) << ')';
return d;
}