1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-02 18:47:19 +03:00

Remove calls to setInputSpeed(), as it only needs to be called once

This commit is contained in:
Paul Cercueil 2013-09-26 18:59:22 -03:00
parent 8452c037ac
commit 217a9b5cd6

View File

@ -142,19 +142,16 @@ bool SettingsDialog::exec() {
} else {
sel -= 1;
}
gmenu2x->setInputSpeed();
break;
case InputManager::DOWN:
sel += 1;
if (sel>=voices.size()) sel = 0;
gmenu2x->setInputSpeed();
default:
break;
}
}
}
gmenu2x->setInputSpeed();
return true;
}