diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-07-31 15:37:40 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-08-04 13:28:34 +0200 |
commit | b69092b13ec915b5ca75cb8d0091995af44378da (patch) | |
tree | 0222a4fff33b858310dee50bbcbefb6db1330767 /util | |
parent | 652062dde33ddb0ecaf4bb9f38055d8ab87c462b (diff) |
Fix compilation error in unicode table generator
Don't include a QString::number() in a sum of QByteArray and C strings.
Change-Id: I7544e835fcf5625b1fe1ee2055a48600200daafd
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'util')
-rw-r--r-- | util/unicode/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp index 1ed3bba0e4..c7608bb06c 100644 --- a/util/unicode/main.cpp +++ b/util/unicode/main.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the utils of the Qt Toolkit. @@ -1638,7 +1638,7 @@ static QByteArray createNormalizationCorrections() qFatal("unknown unicode version in NormalizationCorrection.txt"); out += " { 0x" + QByteArray::number(c.codepoint, 16) + ", 0x" + QByteArray::number(c.mapped, 16) - + ", " + QString::number(c.version) + " },\n"; + + ", " + QByteArray::number(c.version) + " },\n"; ++numCorrections; maxVersion = qMax(c.version, maxVersion); } |