From 853283ca875f97e53eb84a718cb55fa0075d8350 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 16 May 2015 19:18:51 +0200 Subject: [PATCH] Extend comment and remove superfluous parentheses. --- src/frontends/qt4/GuiApplication.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 2fa6a71577..6640ce359c 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -2142,10 +2142,10 @@ void GuiApplication::processKeySym(KeySymbol const & keysym, KeyModifier state) // If a non-Shift Modifier is used we have a non-bound key sequence // (such as Alt+j = j). This should be omitted (#5575). // FIXME: On Windows, the AltModifier and ShiftModifer is also - // set when AltGr is pressed. Therefore, the check below does not work - // (see #5575 for details). + // set when AltGr is pressed. Therefore, the check below cannot be used + // since it breaks AltGr-bound symbols (see #5575 for details). #if !defined(_WIN32) - if ((state & AltModifier || state & ControlModifier || state & MetaModifier)) { + if (state & AltModifier || state & ControlModifier || state & MetaModifier) { current_view_->message(_("Unknown function.")); current_view_->restartCursor(); return; -- 2.39.2