Skip to content
Verified Commit 55f6e31f authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

Polish menu before creating platform window

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: default avatarDavid Redondo <kde@david-redondo.de>
parent 0b91712f
Pipeline #400547 passed with stage
in 31 minutes and 45 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment