diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2022-01-07 16:35:37 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-16 03:33:49 +0000 |
commit | aed6e94b00a519b166a8dca5a755a2fa47e69640 (patch) | |
tree | 7748a4ab484c34a48452ea2bf4db777ba1c0e142 | |
parent | 6cb5fdb02852e3d87667d97ac5628496a3eb7ac9 (diff) |
Fix QML warning in tst_QQuickListView
The warning was about the delegate's parent being null in
QTBUG_48044_currentItemNotVisibleAfterTransition.
Change-Id: I54198b26adea137d539f71c8aebc1ba3a18d1e97
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit e523f00974eeccec4525edf85c732659a9c16119)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/quick/qquicklistview/data/qtbug48044.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicklistview/data/qtbug48044.qml b/tests/auto/quick/qquicklistview/data/qtbug48044.qml index d318643c1c..368b6bd4bd 100644 --- a/tests/auto/quick/qquicklistview/data/qtbug48044.qml +++ b/tests/auto/quick/qquicklistview/data/qtbug48044.qml @@ -116,7 +116,7 @@ Item { color: header ? "yellow" : "cyan" border.color: "black" height: 50 - width: parent.width + width: listView.width Text { anchors.centerIn: parent |