##// END OF EJS Templates
Revert "Add debug statements to observe loop"...
Emilio Graff -
Show More
@@ -20,9 +20,6 b' def _reclaim_excepthook():'
20 20 sys.excepthook = shell.excepthook
21 21
22 22
23 announced = 0
24
25
26 23 def inputhook(context):
27 24 global _appref
28 25 app = QtCore.QCoreApplication.instance()
@@ -60,15 +57,6 b' def inputhook(context):'
60 57
61 58 event_loop = QtCore.QEventLoop(app)
62 59
63 global announced
64 if announced == 0:
65 print(f"`inputhook` running Qt {QtCore.qVersion()} event loop.")
66 announced += 1
67 elif announced == 10:
68 announced = 0
69 else:
70 announced += 1
71
72 60 if sys.platform == 'win32':
73 61 # The QSocketNotifier method doesn't appear to work on Windows.
74 62 # Use polling instead.
General Comments 0
You need to be logged in to leave comments. Login now