diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-07 14:57:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-07 21:38:21 +0300 |
commit | ae550d179c25e149f7e8a8d70011b364fb0d85d6 (patch) | |
tree | c4dabe3e38afc8b343e3946202eb6fa5f30a18a9 /src/keyboardconfig.cpp | |
parent | 2566e68d2502d39c9f7c9d83ce4b281e2834fe29 (diff) | |
download | mv-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.gz mv-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.bz2 mv-ae550d179c25e149f7e8a8d70011b364fb0d85d6.tar.xz mv-ae550d179c25e149f7e8a8d70011b364fb0d85d6.zip |
some fixes after auto check.
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r-- | src/keyboardconfig.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp index deef46e4b..132158eb1 100644 --- a/src/keyboardconfig.cpp +++ b/src/keyboardconfig.cpp @@ -45,8 +45,7 @@ KeyboardConfig::KeyboardConfig() : void KeyboardConfig::init() { mEnabled = true; - if (mActiveKeys2) - delete mActiveKeys2; + delete mActiveKeys2; mActiveKeys2 = new uint8_t[500]; mRepeatTime = config.getIntValue("repeateInterval2") / 10; } |