mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
qt5-styleplugins: rebuild against qt5.15.0
This commit is contained in:
parent
40344bf4bb
commit
8098c34be6
2 changed files with 23 additions and 2 deletions
21
srcpkgs/qt5-styleplugins/patches/qt5.15.patch
Normal file
21
srcpkgs/qt5-styleplugins/patches/qt5.15.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- src/plugins/styles/gtk2/qgtkstyle_p.cpp 2017-03-11 10:23:02.000000000 +0100
|
||||
+++ - 2020-06-13 19:46:47.729544729 +0200
|
||||
@@ -508,7 +508,6 @@
|
||||
if (oldTheme != QGtkStylePrivate::getThemeName()) {
|
||||
oldTheme = QGtkStylePrivate::getThemeName();
|
||||
QPalette newPalette = qApp->style()->standardPalette();
|
||||
- QApplicationPrivate::setSystemPalette(newPalette);
|
||||
QApplication::setPalette(newPalette);
|
||||
if (!QGtkStylePrivate::instances.isEmpty()) {
|
||||
QGtkStylePrivate::instances.last()->initGtkWidgets();
|
||||
--- src/plugins/styles/gtk2/qgtkstyle.cpp 2020-06-13 19:48:41.746108796 +0200
|
||||
+++ - 2020-06-13 19:48:47.476009571 +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());
|
||||
+ QApplication::setPalette(standardPalette());
|
||||
QApplicationPrivate::setSystemFont(d->getThemeFont());
|
||||
d->applyCustomPaletteHash();
|
||||
if (!d->isKDE4Session())
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'qt5-styleplugins'
|
||||
pkgname=qt5-styleplugins
|
||||
version=5.0.0
|
||||
revision=12
|
||||
revision=13
|
||||
_gitrev=335dbece103e2cbf6c7cf819ab6672c2956b17b3
|
||||
wrksrc="qtstyleplugins-${_gitrev}"
|
||||
build_style=qmake
|
||||
hostmakedepends="pkg-config qt5-host-tools qt5-devel"
|
||||
makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
|
||||
depends="qt5-core>=5.14.2<5.14.3"
|
||||
depends="qt5-core>=5.15.0<5.15.1"
|
||||
short_desc="Additional style plugins for Qt5"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="LGPL-2.1-only, LGPL-3.0-only"
|
||||
|
|
Loading…
Add table
Reference in a new issue