diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-12 21:28:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-12 21:28:54 +0300 |
commit | 5c66d91e3e69446081ef6254063ad638fbc48aca (patch) | |
tree | c3bb94057bcd4bdbb8568e815c7f18c44417a78a /src/keyboardconfig.cpp | |
parent | f6000c9088ee63428f65ee980f6751f85a7e7d7e (diff) | |
download | plus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.gz plus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.bz2 plus-5c66d91e3e69446081ef6254063ad638fbc48aca.tar.xz plus-5c66d91e3e69446081ef6254063ad638fbc48aca.zip |
Fix code style.
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r-- | src/keyboardconfig.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp index 7287ed3ad..47ef4a06c 100644 --- a/src/keyboardconfig.cpp +++ b/src/keyboardconfig.cpp @@ -214,7 +214,8 @@ void KeyboardConfig::handleRepeat(const int time) } if (repeat) { - if (time > keyTime && abs(time - keyTime) > mRepeatTime) + if (time > keyTime && abs(time - keyTime) + > static_cast<signed>(mRepeatTime)) { keyTime = time; inputManager.triggerAction(getActionVectorByKey(key)); |