aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontend/qt_sdl/InputConfigDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/qt_sdl/InputConfigDialog.cpp b/src/frontend/qt_sdl/InputConfigDialog.cpp
index 673aa54..bd39e33 100644
--- a/src/frontend/qt_sdl/InputConfigDialog.cpp
+++ b/src/frontend/qt_sdl/InputConfigDialog.cpp
@@ -304,11 +304,11 @@ QString KeyMapButton::mappingText()
}
QKeySequence seq(key);
- QString ret = seq.toString();
+ QString ret = seq.toString(QKeySequence::NativeText);
// weak attempt at detecting garbage key names
- if (ret.length() == 2 && ret[0].unicode() > 0xFF)
- return QString("[%1]").arg(key, 8, 16);
+ //if (ret.length() == 2 && ret[0].unicode() > 0xFF)
+ // return QString("[%1]").arg(key, 8, 16);
return ret.replace("&", "&&");
}