puddletag: fix issue with PyQt4 (close #2882)

This commit is contained in:
allan 2015-11-02 16:44:32 +01:00
parent 9f7661ca52
commit d09b125261
2 changed files with 16 additions and 5 deletions

View file

@ -0,0 +1,11 @@
--- source/puddlestuff/puddleobjects.py 2015-11-02 15:55:52.830814590 +0100
+++ source/puddlestuff/puddleobjects.py 2015-11-02 15:55:59.994099731 +0100
@@ -1418,7 +1418,7 @@
super(ArtworkLabel, self).__init__(*args, **kwargs)
pal = self.palette()
- pal.setBrush(self.backgroundRole(), QBrush(QPalette.Window))
+ pal.setBrush(self.backgroundRole(), QBrush(pal.window()))
self.setAutoFillBackground(True)
self.setPalette(pal)

View file

@ -1,18 +1,18 @@
# Template file for 'puddletag'
pkgname=puddletag
version=1.0.5
revision=1
revision=2
short_desc="MP3 tagging GUI"
maintainer="allan <mail@may.mooo.com>"
license="Apache-2"
license="GPL-2"
homepage="http://puddletag.sourceforge.net"
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
checksum="4698d5effe8f265446b356068bad7ced0b29c1f66824dc94a5688f3fffc389e2"
distfiles=https://github.com/keithgg/puddletag/archive/v${version}.tar.gz
checksum=f94ebcc4ed31389574c187197b99256bec1f96e1e7d4dd61730e88f79deeaba2
build_wrksrc=source
noarch=yes
build_style=python-module
python_versions=2.7
pycompile_module=puddlestuff
makedepends="python-devel"
hostmakedepends="python-devel"
depends="mutagen python-PyQt4 python-parsing python-configobj"