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() {
|
void GMainWindow::OnDecreaseSpeed() {
|
||||||
int step = 50;
|
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() {
|
void GMainWindow::OnIncreaseSpeed() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue