| 16 | #include "Logging.h" |
| 17 | |
| 18 | QString makeKeyString(const KeyName &key, const ModKeys &mods) |
| 19 | { |
| 20 | QString k = keyNameToEnum.key(key,nullptr); |
| 21 | QString m = modNameToEnum.key(mods,nullptr); |
| 22 | QString keystring; |
| 23 | |
| 24 | if(m != nullptr) |
| 25 | keystring = QString("%1+%2").arg(m,k); |
| 26 | else |
| 27 | keystring = k; |
| 28 | |
| 29 | //qCDebug(logKeybinds) << keystring << k << m << key << mods; |
| 30 | |
| 31 | return keystring.toLower(); |
| 32 | } |
| 33 | |
| 34 | KeybindSettings::KeybindSettings() |
| 35 | { |
no test coverage detected