diff options
author | Freya Murphy <freya@freyacat.org> | 2024-06-23 15:35:14 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-06-23 15:35:14 -0400 |
commit | 69b6c719517c047eaa2197517f9e65ed2c21560d (patch) | |
tree | 91848e2b18fcad70480a85e9b7cf215ccea7d761 /modules/freya/packages/patches/qt5-styleplugins-fix-gtk2-background.patch | |
parent | mint themes, other fixes (diff) | |
download | dotfiles-guix-69b6c719517c047eaa2197517f9e65ed2c21560d.tar.gz dotfiles-guix-69b6c719517c047eaa2197517f9e65ed2c21560d.tar.bz2 dotfiles-guix-69b6c719517c047eaa2197517f9e65ed2c21560d.zip |
update vim-plug and easyeffects
Diffstat (limited to 'modules/freya/packages/patches/qt5-styleplugins-fix-gtk2-background.patch')
-rw-r--r-- | modules/freya/packages/patches/qt5-styleplugins-fix-gtk2-background.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/freya/packages/patches/qt5-styleplugins-fix-gtk2-background.patch b/modules/freya/packages/patches/qt5-styleplugins-fix-gtk2-background.patch new file mode 100644 index 0000000..888ec0b --- /dev/null +++ b/modules/freya/packages/patches/qt5-styleplugins-fix-gtk2-background.patch @@ -0,0 +1,25 @@ +From 20b0985a77df913585628d49a3b541fb957ae366 Mon Sep 17 00:00:00 2001 +From: gamezelda +Date: Thu, 4 Jun 2020 00:06:50 +0200 +Subject: [PATCH] fix setting background palette + +--- + src/plugins/styles/gtk2/qgtkstyle.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/plugins/styles/gtk2/qgtkstyle.cpp b/src/plugins/styles/gtk2/qgtkstyle.cpp +index 2544593..6138bd2 100644 +--- a/src/plugins/styles/gtk2/qgtkstyle.cpp ++++ b/src/plugins/styles/gtk2/qgtkstyle.cpp +@@ -442,6 +442,8 @@ void QGtkStyle::polish(QApplication *app) + if (app->desktopSettingsAware() && d->isThemeAvailable()) { + #if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) + QApplicationPrivate::setSystemPalette(standardPalette()); ++#else ++ QApplication::setPalette(standardPalette()); + #endif + QApplicationPrivate::setSystemFont(d->getThemeFont()); + d->applyCustomPaletteHash(); +-- +2.27.0 + |