Skip to content

Commit 936e3ee

Browse files
Replace QtGui.QApplication β†’ QtWidgets.QApplication
Similar to #92, it looks like the former was an alias provided by pyqtgraph for backwards compatibility with code written for PyQt4. pyqtgraph no longer provides this alias.
1 parent 86e8c39 commit 936e3ee

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)