changeset 22652:65d84345abfc

Fix incorrect graphics event Key when space key is pressed (bug #49397) *KeyMap.cc (KeyMap::qKeyToKeyString): remove Qt::Key_Any mapper which shadows Qt::Key_Space.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Thu, 20 Oct 2016 23:58:45 +0200
parents 2d9393be9a18
children e7a9dfb8bf16
files libgui/graphics/KeyMap.cc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/graphics/KeyMap.cc	Wed Oct 19 15:20:33 2016 -0700
+++ b/libgui/graphics/KeyMap.cc	Thu Oct 20 23:58:45 2016 +0200
@@ -113,7 +113,6 @@
           keyMapper[Qt::Key_Direction_L] = "direction_l";
           keyMapper[Qt::Key_Direction_R] = "direction_r";
           keyMapper[Qt::Key_Space] = "space";
-          keyMapper[Qt::Key_Any] = "any";
           keyMapper[Qt::Key_Exclam] = "exclam";
           keyMapper[Qt::Key_QuoteDbl] = "quotedbl";
           keyMapper[Qt::Key_NumberSign] = "numbersign";