Skip to content

Commit 8de7a40

Browse files
authored
Merge pull request #93 from labscript-suite/qapplication-fix
Replace QtGui.QApplication → QtWidgets.QApplication
2 parents c710b07 + 936e3ee commit 8de7a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labscript_devices/IMAQdxCamera/blacs_tabs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def handler(self, data):
102102
# and not for the Qt event loop as a whole. In any case, this seems to fix it.
103103
# Manually calling this is usually a sign of bad coding, but I think it is the
104104
# right solution to this problem. This solves issue #36.
105-
QtGui.QApplication.instance().sendPostedEvents()
105+
QtWidgets.QApplication.instance().sendPostedEvents()
106106
return self.NO_RESPONSE
107107

108108

0 commit comments

Comments
 (0)