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-15 14:03:33 +0000 |
commit | dfc4057e0c8c89bb8d45d13a5f2bb2ea3e462d46 (patch) | |
tree | 962bd09e418b819fa1886ae5eaa231d287aaa891 | |
parent | 413e411490a4a04a7251c1011ac1ab88ae73f2f4 (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 |