diff options
author | Kai Köhne <kai.koehne@qt.io> | 2024-06-17 16:31:51 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2024-06-19 15:06:42 +0200 |
commit | d14bf9803e5bb0d736dd272c3abc9f460422ef40 (patch) | |
tree | 569d339e38bc7f7838a5ccb7b0bca2942d8d6b29 /tests/auto/qml/qqmlobjectmodel/tst_qqmlobjectmodel.cpp | |
parent | 49f7eabeac959fb448482bd0a7ebb1b774bc5bcb (diff) |
Fixes a deprecation warning:
qtbase/src/corelib/text/qstringbuilder.h(400): error C2220: the following warning is treated as an error
qtbase/src/corelib/text/qstringbuilder.h(400): warning C4996: 'QConcatenable<const char [4]>::appendTo': Use fromUtf8, QStringLiteral, or QLatin1StringView
While at it, also change append() to operator+() for
easier readability, and use Latin1 / _L1 for minimal space usage.
Pick-to: 6.8
Change-Id: I2035b1776aa43b67031f3f6e45460a5966d68f18
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlobjectmodel/tst_qqmlobjectmodel.cpp')
0 files changed, 0 insertions, 0 deletions