diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-10-01 11:32:41 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-10-06 09:54:52 +0000 |
commit | 732ae8d88488aea6c7b1bf1828c500ae38c1749b (patch) | |
tree | 97ead22d7f7f1ea7bddd6870905076cef3433140 /tests | |
parent | 280f78a7fcfac2dd955237d7f602a03624b293bf (diff) |
qmlformat: Fix inline components
Fixes: QTBUG-86979
Change-Id: Ie8863bc2ecf75a9dd8e4af5e96e48c30e7acbacd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit ecd018b4833863e9f7b8cecc616f681c361957b3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml b/tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml index 5349280f2b..fd5ab99197 100644 --- a/tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml +++ b/tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml @@ -1,10 +1,7 @@ Item { component CustomText: Text { - Text { - color: "red" - text: "Test Text" - } - + color: "red" + text: "Test Text" } } |