Skip to content
  • Kai Uwe Broulik's avatar
    [KHintsSettings] Emit QGuiApplication::paletteChanged when run as QApplication · ab3298b3
    Kai Uwe Broulik authored
    QGuiApplication::setPalette and QApplication::setPalette are two distinct static functions and
    when the paletteChanged signal was introduced in QGuiApplication the latter was never adjusted.
    
    SystemPalette connects to this signal to avoid installing an eventFilter on qApp for ApplicationPaletteChanged.
    This causes e.g. QML-based System Settings modules to not update when changing color schemes but only the
    widget-based application around it.
    
    CHANGELOG: QtQuick-based interfaces will now more reliably adapt to color scheme changes at runtime
    
    Differential Revision: https://phabricator.kde.org/D4492
    ab3298b3