diff --git a/srcpkgs/qt5-styleplugins/patches/qt5.15.patch b/srcpkgs/qt5-styleplugins/patches/qt5.15.patch index f753bd2c820..d5e5755b1bd 100644 --- a/srcpkgs/qt5-styleplugins/patches/qt5.15.patch +++ b/srcpkgs/qt5-styleplugins/patches/qt5.15.patch @@ -8,13 +8,13 @@ QApplication::setPalette(newPalette); if (!QGtkStylePrivate::instances.isEmpty()) { QGtkStylePrivate::instances.last()->initGtkWidgets(); ---- a/src/plugins/styles/gtk2/qgtkstyle.cpp 2020-06-13 19:48:41.746108796 +0200 -+++ b/src/plugins/styles/gtk2/qgtkstyle.cpp 2020-06-13 19:48:41.746108796 +0200 +--- a/src/plugins/styles/gtk2/qgtkstyle.cpp 2017-03-11 10:23:02.000000000 +0100 ++++ - 2022-06-17 16:59:37.087644652 +0200 @@ -440,7 +440,7 @@ // not supported as these should be entirely determined by // current Gtk settings if (app->desktopSettingsAware() && d->isThemeAvailable()) { -- QApplicationPrivate::setSystemPalette(standardPalette()); +- QApplicationPrivate::setSystemPalette(standardPalette()); + QApplication::setPalette(standardPalette()); QApplicationPrivate::setSystemFont(d->getThemeFont()); d->applyCustomPaletteHash(); diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template index 4399c87d86c..262b694bcbf 100644 --- a/srcpkgs/qt5-styleplugins/template +++ b/srcpkgs/qt5-styleplugins/template @@ -1,7 +1,7 @@ # Template file for 'qt5-styleplugins' pkgname=qt5-styleplugins version=5.0.0 -revision=16 +revision=17 _gitrev=335dbece103e2cbf6c7cf819ab6672c2956b17b3 wrksrc="qtstyleplugins-${_gitrev}" build_style=qmake