change order of loading of palette and qss

This commit is contained in:
Martin Rotter 2021-11-12 10:15:20 +01:00
parent f4cbe5199b
commit b43114bb35

View File

@ -75,7 +75,7 @@ void SkinFactory::loadSkinFromData(const Skin& skin) {
fusion_palette.setColor(QPalette::ColorRole::Dark, clr_bg);
fusion_palette.setColor(QPalette::ColorRole::AlternateBase, clr_altbg);
fusion_palette.setColor(QPalette::ColorRole::Button, clr_altbg);
fusion_palette.setColor(QPalette::ColorRole::Highlight, Qt::GlobalColor::blue);
fusion_palette.setColor(QPalette::ColorRole::Highlight, clr_selbg);
// Texts.
fusion_palette.setColor(QPalette::ColorRole::WindowText, clr_fg);