tst_qquickmenu: fix another "cannot show menu: parent is null" warning

The test shows it after the menu gets a window anyway, so we don't need
to try to make it immediately visible.

Same fix as 1025a40812.

Amends d0a83e3330.

Pick-to: 6.5 6.8 6.9 6.10
Change-Id: I7cfd59ae88b3ce4ab9b4ec780838d7cdc476091d
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
This commit is contained in:
Mitch Curtis 2025-08-04 08:37:21 +08:00
parent 30453147f7
commit 48459e18ab
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Window {
id: menu
anchors.centerIn: parent
height: 100
visible: true
Repeater {
model: 10
delegate: MenuItem {