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:
Ulf Hermann 2019-12-17 09:44:10 +01:00
parent e7650520ef
commit cc759804aa
1 changed files with 1 additions and 1 deletions

View File

@ -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)