Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.0.2
-
None
-
Mac OS X
-
Change-Id: Idd451fb793bd07124a96d75ed7b936f7ff584f28
Description
Following example asserts on Mac, when using Spanish ISO keyboard layout and trying to type "{" character.
class MainWindow : public QWidget { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); protected: }; MainWindow::MainWindow(QWidget *parent) : QWidget(parent) { QVBoxLayout *layout = new QVBoxLayout(this); QPushButton *fiveButton = new QPushButton("5"); QTextEdit *edit = new QTextEdit; layout->addWidget(fiveButton); layout->addWidget(edit); fiveButton->setShortcut(QKeySequence(Qt::Key_5)); } int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); }
Attachments
Issue Links
- is required for
-
QTBUG-29005 Problem writing "{" character on code editor
- Closed
- relates to
-
QTBUG-50772 Key event and shortcut handling cleanup
- Closed