The changes to support macOS “Dark Mode” are valid for any platform, and should work so long as Qt implements the PaletteChange event. (Worst case, we’re no worse off with trying.)
Additionally, we shouldn’t block the parent classes from implementing event handlers. Who knows what side effects that could have.