From ae550d179c25e149f7e8a8d70011b364fb0d85d6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Apr 2013 14:57:08 +0300 Subject: some fixes after auto check. --- src/keyboardconfig.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/keyboardconfig.cpp') 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; } -- cgit v1.2.3-60-g2f50