- updated Qt keybinding translation

This commit is contained in:
Rolzad73
2017-05-08 18:58:47 -04:00
parent b2a0ccba05
commit b4a34216c8

View File

@@ -27,6 +27,8 @@ const KeyRep& translateKey(LocalKeySym key)
str = XKeysymToString(key);
#elif defined (SDL_CONFIG)
str = (char*)SDL_GetKeyName(key);
#elif defined (QT_CONFIG)
str = (char*)QKeySequence(key).toString().toUtf8().constData();;
#endif
if (!str)
{