From 3757ae31141e37c58c7daa6d23150dd22d2fcb79 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Tue, 20 Mar 2012 22:53:25 -0700 Subject: [PATCH] win32: Avoid super for portability reasons For some reason Python 2.6 and PyQt4 on win32 does not see the show() method via a super() called from within a closure. Work around it. Signed-off-by: David Aguilar --- cola/widgets/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cola/widgets/standard.py b/cola/widgets/standard.py index 395cbbc3..d02dbb3c 100644 --- a/cola/widgets/standard.py +++ b/cola/widgets/standard.py @@ -22,7 +22,7 @@ def create_widget_class(Base): self.move(x, y) # Call the base Qt show() - super(Widget, self).show() + Base.show(self) def name(self): """Returns the name of the view class""" -- 2.11.4.GIT