main: remove duplicate qt_exception_hook initialization

main
Ilya Zhuravlev 2020-12-20 19:10:07 -05:00
parent dffdfa130b
commit 56300d1ddc
1 changed files with 0 additions and 4 deletions

View File

@ -45,10 +45,6 @@ class UncaughtHook(QtCore.QObject):
sys._excepthook(exc_type, exc_value, exc_traceback)
# create a global instance of our class to register the hook
qt_exception_hook = UncaughtHook()
if __name__ == '__main__':
appctxt = ApplicationContext() # 1. Instantiate ApplicationContext
qt_exception_hook = UncaughtHook()