On Tue, 09 Apr 2013 02:10:14 +0100, Baz Walter wrote:
> Using the "context" argument of the QShortcut constructor causes a
> segfault, e.g:
>
> from PyQt4 import QtGui, QtCore
>
> app = QtGui.QApplication([])
> widget = QtGui.QWidget()
>
> QtGui.QShortcut('Ctrl+F', widget,
Using the "context" argument of the QShortcut constructor causes a
segfault, e.g:
from PyQt4 import QtGui, QtCore
app = QtGui.QApplication([])
widget = QtGui.QWidget()
QtGui.QShortcut('Ctrl+F', widget, widget.show,
None, QtCore.Qt.ApplicationShortcut)
This