Avoid deprecated non-q-prefixed hex() function
Use Qt::hex() instead. Change-Id: I46bc2f2006ce860cd938a86432783011365c8164 Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
e7650520ef
commit
cc759804aa
|
@ -374,7 +374,7 @@ static bool saveUnitAsCpp(const QString &inputFileName, const QString &outputFil
|
|||
{
|
||||
QTextStream stream(&hexifiedData);
|
||||
const uchar *end = begin + size;
|
||||
stream << hex;
|
||||
stream << Qt::hex;
|
||||
int col = 0;
|
||||
for (const uchar *data = begin; data < end; ++data, ++col) {
|
||||
if (data > begin)
|
||||
|
|
Loading…
Reference in New Issue