diff options
author | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2021-02-03 15:33:02 +0100 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2021-02-03 15:05:29 +0000 |
commit | d5fc1acf67b6231df728665a07d2c4d0ab122645 (patch) | |
tree | 3d67e5129093cada66c697656f8486f09b30b72e /src/libs/qmljs | |
parent | 7015ef04b77f4e4318a46535951e4fa14450c6d3 (diff) |
qmljs: convert QStringView -> QString in +=
+= using QStringView is available only in newer Qt
Change-Id: I67e1cbbfcba07cca826ee4353d0cac08bf46defe
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/libs/qmljs')
-rw-r--r-- | src/libs/qmljs/qmljsbind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljsbind.cpp b/src/libs/qmljs/qmljsbind.cpp index 6784190833..d24b95319a 100644 --- a/src/libs/qmljs/qmljsbind.cpp +++ b/src/libs/qmljs/qmljsbind.cpp @@ -341,7 +341,7 @@ bool Bind::visit(UiInlineComponent *ast) _diagnosticMessages->append( errorMessage(ast, tr("Nested inline components are not supported"))); } - _currentComponentName += ast->name; + _currentComponentName += ast->name.toString(); _rootObjectValue = nullptr; return true; } |