Skip to content

KMessageWidget: Fix handling of palette changes

Joshua Goins requested to merge work/josh/better-kmessagewidget-palette into master

The Qt6 port changed it so the widget listens to ApplicationPaletteChange, but this only works for top-level widgets. Instead, we want to listen to palette change. Also prevents an infinite recursion when doing so.

This fixes the text label and the icon being colored incorrectly on palette changes.

Merge request reports