diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-10-23 09:43:49 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2020-11-09 22:08:31 +0200 |
commit | 5f97dc372e26efc780aeb0e28416d227bde3d376 (patch) | |
tree | 5fb3961b3f29e146e8a5a3cc4818079f14fd319b /src/knx/dpt/qknxutf8string.cpp | |
parent | 0b359afde6575f81b699f0baf80edbb2904a56b9 (diff) |
Compile fix, update qtbase dependency6.0.0
Change-Id: Ic80537d02f8bf1ea19356dad5e4ea07992db7fa9
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/knx/dpt/qknxutf8string.cpp')
-rw-r--r-- | src/knx/dpt/qknxutf8string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/knx/dpt/qknxutf8string.cpp b/src/knx/dpt/qknxutf8string.cpp index bdeadc6..e4f20d7 100644 --- a/src/knx/dpt/qknxutf8string.cpp +++ b/src/knx/dpt/qknxutf8string.cpp @@ -139,7 +139,7 @@ bool QKnxUtf8String::setString(const char *string, int size) if (!toUtf16.isValid()) return false; - auto text = toUtf16(string, size); + auto text = toUtf16(QByteArrayView{ string, size }); if (toUtf16.hasError()) return false; return setString(text); |