clang-format
This commit is contained in:
parent
f95ea04995
commit
1ec71b6ea0
|
@ -102,7 +102,8 @@ constexpr int GetIndexFromControllerType(Settings::ControllerType type) {
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
QtControllerSelectorDialog::QtControllerSelectorDialog(
|
QtControllerSelectorDialog::QtControllerSelectorDialog(
|
||||||
QWidget* parent, Core::Frontend::ControllerParameters parameters_, InputCommon::InputSubsystem* input_subsystem_)
|
QWidget* parent, Core::Frontend::ControllerParameters parameters_,
|
||||||
|
InputCommon::InputSubsystem* input_subsystem_)
|
||||||
: QDialog(parent), ui(std::make_unique<Ui::QtControllerSelectorDialog>()),
|
: QDialog(parent), ui(std::make_unique<Ui::QtControllerSelectorDialog>()),
|
||||||
parameters(std::move(parameters_)), input_subsystem(input_subsystem_) {
|
parameters(std::move(parameters_)), input_subsystem(input_subsystem_) {
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
|
@ -70,7 +70,8 @@ ConfigureInput::ConfigureInput(QWidget* parent)
|
||||||
|
|
||||||
ConfigureInput::~ConfigureInput() = default;
|
ConfigureInput::~ConfigureInput() = default;
|
||||||
|
|
||||||
void ConfigureInput::Initialize(InputCommon::InputSubsystem* input_subsystem, std::size_t max_players) {
|
void ConfigureInput::Initialize(InputCommon::InputSubsystem* input_subsystem,
|
||||||
|
std::size_t max_players) {
|
||||||
player_controllers = {
|
player_controllers = {
|
||||||
new ConfigureInputPlayer(this, 0, ui->consoleInputSettings, input_subsystem),
|
new ConfigureInputPlayer(this, 0, ui->consoleInputSettings, input_subsystem),
|
||||||
new ConfigureInputPlayer(this, 1, ui->consoleInputSettings, input_subsystem),
|
new ConfigureInputPlayer(this, 1, ui->consoleInputSettings, input_subsystem),
|
||||||
|
|
Loading…
Reference in New Issue