TypeError: closeEvent() takes exactly 2 arguments (1 given)