diff options
Diffstat (limited to 'tests/auto/corelib/text/qchar/tst_qchar.cpp')
-rw-r--r-- | tests/auto/corelib/text/qchar/tst_qchar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/text/qchar/tst_qchar.cpp b/tests/auto/corelib/text/qchar/tst_qchar.cpp index b150600e36..134862f716 100644 --- a/tests/auto/corelib/text/qchar/tst_qchar.cpp +++ b/tests/auto/corelib/text/qchar/tst_qchar.cpp @@ -115,9 +115,9 @@ void tst_QChar::fromUcs4() void tst_QChar::fromWchar_t() { #if defined(Q_OS_WIN) - QChar aUmlaut = L'\u00E4'; // German small letter a-umlaut + QChar aUmlaut(L'\u00E4'); // German small letter a-umlaut QCOMPARE(aUmlaut, QChar(0xE4)); - QChar replacementCharacter = L'\uFFFD'; + QChar replacementCharacter(L'\uFFFD'); QCOMPARE(replacementCharacter, QChar(QChar::ReplacementCharacter)); #else QSKIP("This is a Windows-only test."); |