Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/add_to_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ def raise_error():
act.triggered.connect(raise_error)

main_gui.show()
app.exec_()
app.exec()
2 changes: 1 addition & 1 deletion examples/output_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,4 @@ def send_logging(self):
main_gui = ExampleApp(init_preditor=not args.no_preditor)

main_gui.show()
app.exec_()
app.exec()
2 changes: 1 addition & 1 deletion preditor/excepthooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def ask_to_show_logger(self, *exc_info):
ConsolePrEdit._errorPrompted = True
errorDialog = config.error_dialog_class(config.root_window())
errorDialog.setText(exc_info)
errorDialog.exec_()
errorDialog.exec()

# interrupted until dialog closed
finally:
Expand Down
2 changes: 1 addition & 1 deletion preditor/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ def start(self):
"""Exec's the QApplication if it hasn't already been started."""
if self.app_created and self.app and not self.app_has_exec:
self.app_has_exec = True
Qt.QtCompat.QApplication.exec_()
Qt.QtCompat.QApplication.exec()