From 56e1749599d320cda7303c1e88f73084b6d1d3d6 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <thomas.hartmann@qt.io> Date: Tue, 25 Apr 2017 14:47:57 +0200 Subject: [PATCH] QmlDesigner: Do not override home and end keys Those are not used and will not be used by the designer and user reconfigure them e.g. on macOS. Task-number: QTCREATORBUG-17968 Change-Id: I39d679cbce60de4c6951a82fa12d3c7c4fc630f3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> --- .../qmldesigner/components/texteditor/texteditorwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp b/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp index 9ac4a66aaff..d82fabfaf0a 100644 --- a/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp +++ b/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp @@ -177,7 +177,7 @@ bool TextEditorWidget::eventFilter( QObject *, QEvent *event) { static std::vector<int> overrideKeys = { Qt::Key_Delete, Qt::Key_Backspace, Qt::Key_Left, Qt::Key_Right, Qt::Key_Up, Qt::Key_Down, Qt::Key_Insert, - Qt::Key_Escape, Qt::Key_Home, Qt::Key_End }; + Qt::Key_Escape }; static std::vector<QKeySequence> overrideSequences = { QKeySequence::SelectAll, QKeySequence::Cut, QKeySequence::Copy, QKeySequence::Delete, -- GitLab