fix formatting
This commit is contained in:
parent
1ad3ca9200
commit
edfd17e744
1 changed files with 2 additions and 1 deletions
|
@ -4559,7 +4559,8 @@ void GMainWindow::OnLanguageChanged(const QString& locale) {
|
|||
|
||||
void GMainWindow::OnDecreaseSpeed() {
|
||||
int step = 50;
|
||||
Settings::values.speed_limit.SetValue(std::max(Settings::values.speed_limit.GetValue() - step, 0));
|
||||
Settings::values.speed_limit.SetValue(
|
||||
std::max(Settings::values.speed_limit.GetValue() - step, 0));
|
||||
}
|
||||
|
||||
void GMainWindow::OnIncreaseSpeed() {
|
||||
|
|
Loading…
Add table
Reference in a new issue