summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-27 11:08:09 +0100
committerLioncash <mathew1800@gmail.com>2018-11-27 11:08:13 +0100
commit11cf13a6e10e36714dd1a0df7365d93f3a5b5b73 (patch)
treec9962f2863f70d6379d428bba7698f3fdfe7dc86 /src
parentyuzu/configure_input_player: Amend constructor initializer list order (diff)
downloadyuzu-11cf13a6e10e36714dd1a0df7365d93f3a5b5b73.tar
yuzu-11cf13a6e10e36714dd1a0df7365d93f3a5b5b73.tar.gz
yuzu-11cf13a6e10e36714dd1a0df7365d93f3a5b5b73.tar.bz2
yuzu-11cf13a6e10e36714dd1a0df7365d93f3a5b5b73.tar.lz
yuzu-11cf13a6e10e36714dd1a0df7365d93f3a5b5b73.tar.xz
yuzu-11cf13a6e10e36714dd1a0df7365d93f3a5b5b73.tar.zst
yuzu-11cf13a6e10e36714dd1a0df7365d93f3a5b5b73.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_input_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp
index 44d3d1a56..4a26684d8 100644
--- a/src/yuzu/configuration/configure_input_player.cpp
+++ b/src/yuzu/configuration/configure_input_player.cpp
@@ -307,7 +307,7 @@ ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, u8 player_index, boo
for (std::size_t i = 0; i < controller_color_buttons.size(); ++i) {
connect(controller_color_buttons[i], &QPushButton::clicked, this,
- std::bind(&ConfigureInputPlayer::OnControllerButtonClick, this, i));
+ [this, i] { OnControllerButtonClick(static_cast<int>(i)); });
}
this->loadConfiguration();