mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-16 01:50:06 +00:00
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
This commit is contained in:
parent
53bff53791
commit
73a48d6523
@ -105,10 +105,9 @@ static QString AnalogToText(const Common::ParamPackage& param, const std::string
|
|||||||
};
|
};
|
||||||
|
|
||||||
ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, u8 player_index, bool debug)
|
ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, u8 player_index, bool debug)
|
||||||
: QDialog(parent), ui(std::make_unique<Ui::ConfigureInputPlayer>()),
|
: QDialog(parent), ui(std::make_unique<Ui::ConfigureInputPlayer>()), player_index(player_index),
|
||||||
timeout_timer(std::make_unique<QTimer>()), poll_timer(std::make_unique<QTimer>()),
|
debug(debug), timeout_timer(std::make_unique<QTimer>()),
|
||||||
player_index(player_index), debug(debug) {
|
poll_timer(std::make_unique<QTimer>()) {
|
||||||
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setFocusPolicy(Qt::ClickFocus);
|
setFocusPolicy(Qt::ClickFocus);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user