From b69092b13ec915b5ca75cb8d0091995af44378da Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Fri, 31 Jul 2020 15:37:40 +0200 Subject: Fix compilation error in unicode table generator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't include a QString::number() in a sum of QByteArray and C strings. Change-Id: I7544e835fcf5625b1fe1ee2055a48600200daafd Reviewed-by: Lars Knoll Reviewed-by: Konstantin Ritt Reviewed-by: MÃ¥rten Nordheim --- util/unicode/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/unicode') 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); } -- cgit v1.2.3