Skip to content

Polish menu before creating platform window

ivan tkachenko requested to merge work/ratijas/menu into master

A style may want to change the surface format of the window. Changing the surface format after the window has been created has no effect though. One example of this is Breeze where the context menus created here had an ugly border instead of the intended look. This is because the setting of Qt::WA_TranslucentBackground by breeze had no effect anymore after the window was already created.

Note: This makes menu translucent and adds the blurry background, but it still has 1px dark "korners" for some reason.

See also: kdevelop/kdevelop@2bef4a06
Co-Authored-By: David Redondo kde@david-redondo.de

Edited by ivan tkachenko

Merge request reports

Loading