Commit 44ece31d authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

BUG: Fix problem with TypeError: keyword arguments are not supported, that...

BUG: Fix problem with TypeError: keyword arguments are not supported, that occurs on both Win32 and debian system
parent effd782f
......@@ -133,7 +133,9 @@ class QVTKRenderWindowInteractor(qt.QWidget):
del kw['rw']
# create qt-level widget
apply(qt.QWidget.__init__, (self,parent,name) + args, kw)
# You cannot pass kw anymore, you'll a TypeError: keyword arguments are not supported
# http://goldenspud.com/webrog/archives/2004/07/20/pyqt-platform-inconsistencies/
apply(qt.QWidget.__init__, (self,parent,name) + args)
if rw: # user-supplied render window
self._RenderWindow = rw
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment