Diffstat (limited to 'noncore/apps/keyz-cfg/zkbxml.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/keyz-cfg/zkbxml.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/noncore/apps/keyz-cfg/zkbxml.cpp b/noncore/apps/keyz-cfg/zkbxml.cpp index 76472cb..5b0084c 100644 --- a/noncore/apps/keyz-cfg/zkbxml.cpp +++ b/noncore/apps/keyz-cfg/zkbxml.cpp @@ -490,5 +490,4 @@ int ZkbXmlHandler::str2key(const QString& s) { int ret; -#ifdef USE_ZKB_NAMES ret = KeyNames::find(s); if (ret == -1) { @@ -496,8 +495,4 @@ int ZkbXmlHandler::str2key(const QString& s) { } -#else - ret = str2uint(s); -#endif - return ret; } @@ -506,5 +501,4 @@ int ZkbXmlHandler::str2modifier(const QString& val) { int ret; -#ifdef USE_ZKB_NAMES int n, i; ret = 0; @@ -527,7 +521,4 @@ int ZkbXmlHandler::str2modifier(const QString& val) { n = i + 1; } while (n < val.length()); -#else - ret = str2uint(val); -#endif return ret; @@ -549,5 +540,4 @@ int ZkbXmlHandler::str2keycode(const QString& s) { int ret; -#ifdef USE_ZKB_NAMES ret = KeycodeNames::find(s); if (ret == -1) { @@ -555,8 +545,4 @@ int ZkbXmlHandler::str2keycode(const QString& s) { } -#else - ret = str2uint(s); -#endif - return ret; } |