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 is with:

python 2.7.3, qt 4.8.4, sip 4.14.6-snapshot-395bf9f00aa6, pyqt snapshot-4.10.1-a8db83af435d

--
Regards
Baz Walter
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to