Skip to content

Fix parent passed to constant setting menus

Méven Car requested to merge meven/kcalc:fix-popup-positioning into master

Parent QWidget is not just used for memory management but also for widget positioning.

Having as parent the main window rather than the direct parent widget, makes the menu being positioned relative to the parent window under Wayland.

Relates to https://bugreports.qt.io/browse/QTBUG-68636, fixes the kcalc case

cc @davidedmundson

Edited by Méven Car

Merge request reports

Loading