Bug fix: QIcon problems with pyqt-4.8.4-1
This commit is contained in:
parent
8af1b3873f
commit
433a4ec8c7
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue