Listen to the application style changing

Authored by broulik on Oct 10 2019, 11:08 AM.

Description

Listen to the application style changing

Ensures all controls resize and repaint when the widget style changes.
There's no style change signal and QEvent::StyleChange is only sent to allWidgets,
so we listen for the QStyle instance being destroyed.

Differential Revision: https://phabricator.kde.org/D24425

Details