Removed use of super() in TempAreaWindow

This commit is contained in:
dlidstrom 2015-03-17 20:45:21 -06:00
parent 76dbdafacc
commit 431228d0af

View File

@ -324,9 +324,9 @@ class DockArea(Container, QtGui.QWidget, DockDrop):
class TempAreaWindow(QtGui.QMainWindow):
def __init__(self, area, **kwargs):
super().__init__(**kwargs)
QtGui.QMainWindow.__init__(self, **kwargs)
self.setCentralWidget(area)
def closeEvent(self, *args, **kwargs):
self.centralWidget().clear()
super().closeEvent(*args, **kwargs)
QtGui.QMainWindow.closeEvent(self, *args, **kwargs)