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

RJVB <rjvber...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #2 from RJVB <rjvber...@gmail.com> ---
Well, that really puts a huge damper on using this plugin; setting
QT_QUICK_CONTROLS_STYLE=org.kde.desktop means random (from the user's PoV)
applications will start to crash.

Letting code crash like this is really sloppy too, IMHO. Apparently it's not
possible to let the style plugin deactivate itself when `qApp->style() ==
NULL`, but it can at least provoke a more or less clean application exit by not
registering anything in registerTypes. And maybe it's not that expensive to let
the style become a big NOOP in this situation.

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

Reply via email to