diff options
| author | 2018-11-27 05:04:49 -0500 | |
|---|---|---|
| committer | 2018-11-27 05:04:51 -0500 | |
| commit | 73a48d6523d2105854f836f70b900448ae03cd91 (patch) | |
| tree | 0ccf434ba0a0fd50aefbaf03bf55c390dd29fff6 | |
| parent | yuzu/configure_input: Remove unused function MoveGridElement (diff) | |
| download | yuzu-73a48d6523d2105854f836f70b900448ae03cd91.tar.gz yuzu-73a48d6523d2105854f836f70b900448ae03cd91.tar.xz yuzu-73a48d6523d2105854f836f70b900448ae03cd91.zip | |
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
| -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 | |||
| 105 | }; | 105 | }; |
| 106 | 106 | ||
| 107 | ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, u8 player_index, bool debug) | 107 | ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, u8 player_index, bool debug) |
| 108 | : QDialog(parent), ui(std::make_unique<Ui::ConfigureInputPlayer>()), | 108 | : QDialog(parent), ui(std::make_unique<Ui::ConfigureInputPlayer>()), player_index(player_index), |
| 109 | timeout_timer(std::make_unique<QTimer>()), poll_timer(std::make_unique<QTimer>()), | 109 | debug(debug), timeout_timer(std::make_unique<QTimer>()), |
| 110 | player_index(player_index), debug(debug) { | 110 | poll_timer(std::make_unique<QTimer>()) { |
| 111 | |||
| 112 | ui->setupUi(this); | 111 | ui->setupUi(this); |
| 113 | setFocusPolicy(Qt::ClickFocus); | 112 | setFocusPolicy(Qt::ClickFocus); |
| 114 | 113 | ||