We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0284497 commit d6b0bcaCopy full SHA for d6b0bca
1 file changed
examples/qt.py
@@ -109,7 +109,8 @@ def __init__(self):
109
# noinspection PyArgumentList
110
super(MainWindow, self).__init__(None)
111
# Avoids crash when shutting down CEF (issue #360)
112
- self.setAttribute(Qt.WA_DeleteOnClose, True)
+ if PYSIDE:
113
+ self.setAttribute(Qt.WA_DeleteOnClose, True)
114
self.cef_widget = None
115
self.navigation_bar = None
116
if PYQT4:
0 commit comments