diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-12-17 09:44:10 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-12-17 09:47:15 +0100 |
commit | cc759804aa4156eb75094345dbfe21597b2fe3b8 (patch) | |
tree | 7d807c59a28e902c26cd016817a568fc77d3c03a /tools/qmlcachegen | |
parent | e7650520ef2d986051e00a86a5fe47d3859cbd44 (diff) |
Avoid deprecated non-q-prefixed hex() function
Use Qt::hex() instead.
Change-Id: I46bc2f2006ce860cd938a86432783011365c8164
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tools/qmlcachegen')
-rw-r--r-- | tools/qmlcachegen/qmlcachegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp index 920f451b84..b1670c940d 100644 --- a/tools/qmlcachegen/qmlcachegen.cpp +++ b/tools/qmlcachegen/qmlcachegen.cpp @@ -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) |