代码优化

This commit is contained in:
p57492168 2022-06-13 22:35:45 +08:00
parent 614c03a64c
commit 10cb046bff
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
def quit(self): def quit(self):
app = QApplication.instance() app = QApplication.instance()
app.quit() app.quit()
print('3')
if __name__ == '__main__': if __name__ == '__main__':
app = QApplication(sys.argv) app = QApplication(sys.argv)