https://bugs.kde.org/show_bug.cgi?id=374224

--- Comment #14 from RJVB <rjvber...@gmail.com> ---
You sire (sic) are a saviour!

I rewrote addAlphaChannel() so basically it does

    if (qobject_cast<QMenu*>(widget)) {
        widget->ensurePolished();
    } else {
        // previous addAlphaChannel code
    }

and that works around the issue on X11. I have yet to test on Mac.

Interesting observation: adding a qWarning() print probe before calling
widget->ensurePolished() shows that this was called during kdialog's startup,
regardless of whether I used the menu or not. No output was generated when
using the menu.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to