forked from qt-creator/qt-creator
Workaround 5.15 deprecations in QTextStreams
Change-Id: Ifc2b7fd353e7c12346e9716115e830679cea7666 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user