Replaced deprecated QApplication::paletteChanged signal
requested to merge jorgebarroso/systemsettings:work/jorgebarroso/palette_changed_deprecation into master
Using events handling for QEvent::ApplicationPaletteChange and QEvent::PaletteChange