Qt Widgets Designer: Fix Wayland warning occurring for the widget context menu


Give a parent, fixing:

qt.qpa.wayland: Failed to create grabbing popup. Ensure popup  QWidgetWindow(0x55fd1cefab30, name="QMenuClassWindow") has a transientParent set and that parent window has received input.
qt.qpa.wayland: Failed to create grabbing popup. Ensure popup  QWidgetWindow(0x55fd1cecf060,
name="QMenuClassWindow") has a transientParent set and that parent window has received input.

Pick-to: 6.11
Task-number: QTBUG-146665
Change-Id: I6b090711a68f4c657e60431212f08919084f6ac0
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
commit8ddde90b1e60bbea8369ebcea9791b8887fac8a8
parenta9aeca85ac4591a22663d2a08b15d54bcb344024
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
committerFriedemann Kleint <Friedemann.Kleint@qt.io>
commit timeMon, 11 May 2026 09:25:03 +0000