diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-27 05:04:49 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-27 05:04:51 -0500 |
commit | 73a48d6523d2105854f836f70b900448ae03cd91 (patch) | |
tree | 0ccf434ba0a0fd50aefbaf03bf55c390dd29fff6 /src | |
parent | 53bff5379144c22532affdfa8952690a5f0d5fd1 (diff) |
yuzu/configure_input_player: Amend constructor initializer list order
Orders the elements the way they would actually be initialized in.
Resolves compiler warnings with gcc and clang
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/configuration/configure_input_player.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp index 5898a065e..44d3d1a56 100644 --- a/src/yuzu/configuration/configure_input_player.cpp +++ b/src/yuzu/configuration/configure_input_player.cpp @@ -105,10 +105,9 @@ static QString AnalogToText(const Common::ParamPackage& param, const std::string }; ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, u8 player_index, bool debug) - : QDialog(parent), ui(std::make_unique<Ui::ConfigureInputPlayer>()), - timeout_timer(std::make_unique<QTimer>()), poll_timer(std::make_unique<QTimer>()), - player_index(player_index), debug(debug) { - + : QDialog(parent), ui(std::make_unique<Ui::ConfigureInputPlayer>()), player_index(player_index), + debug(debug), timeout_timer(std::make_unique<QTimer>()), + poll_timer(std::make_unique<QTimer>()) { ui->setupUi(this); setFocusPolicy(Qt::ClickFocus); |