Warning removed

This commit is contained in:
Bertrand Songis
2020-03-17 10:12:26 +01:00
parent 514b4eedb3
commit d542019582
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ void Joystick::processEvents()
buttonRepeatTimers[i].restart();
}
else if (autoRepeat && changed != 0) {
if ( buttonRepeatTimers[i].elapsed() >= autoRepeatDelay ) {
if (buttonRepeatTimers[i].elapsed() >= autoRepeatDelay) {
emit buttonValueChanged(i, (bool) changed);
buttons[i] = changed;
}