aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_input_profile_dialog.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-09-02 21:40:55 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-10-07 13:50:13 -0400
commitfb66a455c4c7c1e196fc1001a52325a33e50b127 (patch)
tree97782dab7d9b57b119c765e73a585a6b90484a43 /src/yuzu/configuration/configure_input_profile_dialog.cpp
parentf84328934f5e09894a69d9fa1d2f6a34c715321b (diff)
yuzu qt: Remove global system instances from config, WaitTree, main
Diffstat (limited to 'src/yuzu/configuration/configure_input_profile_dialog.cpp')
-rw-r--r--src/yuzu/configuration/configure_input_profile_dialog.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_input_profile_dialog.cpp b/src/yuzu/configuration/configure_input_profile_dialog.cpp
index 1f5cfa75bf..cd5a88cea4 100644
--- a/src/yuzu/configuration/configure_input_profile_dialog.cpp
+++ b/src/yuzu/configuration/configure_input_profile_dialog.cpp
@@ -2,14 +2,17 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include "core/core.h"
#include "ui_configure_input_profile_dialog.h"
#include "yuzu/configuration/configure_input_player.h"
#include "yuzu/configuration/configure_input_profile_dialog.h"
ConfigureInputProfileDialog::ConfigureInputProfileDialog(
- QWidget* parent, InputCommon::InputSubsystem* input_subsystem, InputProfiles* profiles)
+ QWidget* parent, InputCommon::InputSubsystem* input_subsystem, InputProfiles* profiles,
+ Core::System& system)
: QDialog(parent), ui(std::make_unique<Ui::ConfigureInputProfileDialog>()),
- profile_widget(new ConfigureInputPlayer(this, 9, nullptr, input_subsystem, profiles, false)) {
+ profile_widget(
+ new ConfigureInputPlayer(this, 9, nullptr, input_subsystem, profiles, system, false)) {
ui->setupUi(this);
ui->controllerLayout->addWidget(profile_widget);