From 433a4ec8c7ee10c00be94c6169f532f5654b297c Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Tue, 10 May 2011 21:54:10 -0700 Subject: [PATCH] Bug fix: QIcon problems with pyqt-4.8.4-1 --- generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic.py b/generic.py index db7ed1e..b1aa414 100644 --- a/generic.py +++ b/generic.py @@ -26,7 +26,7 @@ class PesterList(list): class PesterIcon(QtGui.QIcon): def __init__(self, *x, **y): - QtGui.QIcon.__init__(self, *x, **y) + QtGui.QIcon.__init__(self, x[0]) if type(x[0]) in [str, unicode]: self.icon_pixmap = QtGui.QPixmap(x[0]) else: