Minor change on MainWindow::closeEvent()