diff options
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; } |