summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qstring
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2013-02-26 12:51:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-26 22:01:27 +0100
commit7729d89e15bc68899554b28f480a891c61ef0872 (patch)
treec1a2bdfa34a4150f0b2ecdd5e53926e8ac7a4be8 /tests/auto/corelib/tools/qstring
parent1b76cf017427a98bf4487f3cf576611d82097539 (diff)
QWin32PrintEngine: Fix build on MinGW + avoid dummy allocations
Don't use wcscpy_s() which is not available on MinGW but determine the utf-16 string length and pass that value to QString::fromWCharArray() instead. Change-Id: I45d1b1969fe03255fdb6353fa9f52417af530e40 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qstring')
0 files changed, 0 insertions, 0 deletions