summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2024-05-14 00:06:29 +0200
committerAlbert Astals Cid <aacid@kde.org>2024-05-14 00:06:29 +0200
commit50659bc5242852e6828a017eadc5ff374b9b6524 (patch)
treefac7f2d7ad46d01ebf908c4775f3b94bf1efdc4a
parent6522a8c8ae80941a5483d70e985939cb0678c141 (diff)
Use the non deprecated version of QString::fromUcs4HEADmaster
-rw-r--r--qt6/tests/check_utf8document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt6/tests/check_utf8document.cpp b/qt6/tests/check_utf8document.cpp
index c58ec0be..165e318a 100644
--- a/qt6/tests/check_utf8document.cpp
+++ b/qt6/tests/check_utf8document.cpp
@@ -21,7 +21,7 @@ inline QString outlineItemTitle(OutlineItem *item)
return {};
}
const std::vector<Unicode> &title = item->getTitle();
- return QString::fromUcs4(title.data(), title.size());
+ return QString::fromUcs4(reinterpret_cast<const char32_t *>(title.data()), title.size());
}
void TestUtf8Document::checkStrings()