clang-format fixes

This commit is contained in:
SutandoTsukai181 2020-05-03 00:49:16 +03:00
parent 73b891c023
commit 3605d561fe

View File

@ -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()));
} }
}); });
} }