clang-format fixes
This commit is contained in:
parent
73b891c023
commit
3605d561fe
1 changed files with 6 additions and 3 deletions
|
@ -34,8 +34,9 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
|
||||||
if (value == ui->frame_limit->maximum()) {
|
if (value == ui->frame_limit->maximum()) {
|
||||||
ui->game_speed_display_label->setText(tr("unthrottled"));
|
ui->game_speed_display_label->setText(tr("unthrottled"));
|
||||||
} else {
|
} else {
|
||||||
ui->game_speed_display_label->setText(
|
ui->game_speed_display_label->setText(QStringLiteral("%1%")
|
||||||
QStringLiteral("%1%").arg(SliderToSettings(value)).rightJustified(tr("unthrottled").size()));
|
.arg(SliderToSettings(value))
|
||||||
|
.rightJustified(tr("unthrottled").size()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -44,7 +45,9 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
|
||||||
ui->game_speed_alternate_display_label->setText(tr("unthrottled"));
|
ui->game_speed_alternate_display_label->setText(tr("unthrottled"));
|
||||||
} else {
|
} else {
|
||||||
ui->game_speed_alternate_display_label->setText(
|
ui->game_speed_alternate_display_label->setText(
|
||||||
QStringLiteral("%1%").arg(SliderToSettings(value)).rightJustified(tr("unthrottled").size()));
|
QStringLiteral("%1%")
|
||||||
|
.arg(SliderToSettings(value))
|
||||||
|
.rightJustified(tr("unthrottled").size()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue