Re: [PyQt] Crasher in QShortcut contructor

2013-04-09 Thread Phil Thompson
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,

[PyQt] Crasher in QShortcut contructor

2013-04-08 Thread Baz Walter
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