From e8509cd85884372f1ac8601222a818a3b64d1787 Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Mon, 11 Feb 2019 14:16:14 +0100 Subject: [PATCH] ClangTools: Make space toggle the fixit state only ...instead of also going to the diagnostic location in the editor. This allows to toggle desired fixits without loosing focus (analyzer view -> editor widget). Change-Id: Ie8a0379ee1e811c01a2f0666f3627e3a9b537b04 Reviewed-by: Ivan Donchevskii --- src/plugins/clangtools/clangtoolsdiagnosticview.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/clangtools/clangtoolsdiagnosticview.cpp b/src/plugins/clangtools/clangtoolsdiagnosticview.cpp index 40fa9adc369..11767825a11 100644 --- a/src/plugins/clangtools/clangtoolsdiagnosticview.cpp +++ b/src/plugins/clangtools/clangtoolsdiagnosticview.cpp @@ -283,7 +283,6 @@ bool DiagnosticView::eventFilter(QObject *watched, QEvent *event) switch (key) { case Qt::Key_Return: case Qt::Key_Enter: - case Qt::Key_Space: openEditorForCurrentIndex(); } return true;