Fix a old bug.

back 2010
"Base class not correctly detected for a class derived from QtGui.QWidget"
http://srinikom.github.io/pyside-bz-archive/413.html