diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-27 11:17:11 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-27 22:37:21 +0100 |
commit | 2a22c1b27e01f43395d035ebc017df4ba088a67c (patch) | |
tree | baefee236ab465e14fe9b57820eda04dfe83ebe1 | |
parent | yuzu/configure_input: Make CallConfigureDialog a non-member template function (diff) | |
download | yuzu-2a22c1b27e01f43395d035ebc017df4ba088a67c.tar yuzu-2a22c1b27e01f43395d035ebc017df4ba088a67c.tar.gz yuzu-2a22c1b27e01f43395d035ebc017df4ba088a67c.tar.bz2 yuzu-2a22c1b27e01f43395d035ebc017df4ba088a67c.tar.lz yuzu-2a22c1b27e01f43395d035ebc017df4ba088a67c.tar.xz yuzu-2a22c1b27e01f43395d035ebc017df4ba088a67c.tar.zst yuzu-2a22c1b27e01f43395d035ebc017df4ba088a67c.zip |
-rw-r--r-- | src/yuzu/configuration/configure_input_player.cpp | 2 | ||||
-rw-r--r-- | src/yuzu/configuration/configure_input_player.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp index 4a26684d8..7dadd83c1 100644 --- a/src/yuzu/configuration/configure_input_player.cpp +++ b/src/yuzu/configuration/configure_input_player.cpp @@ -104,7 +104,7 @@ static QString AnalogToText(const Common::ParamPackage& param, const std::string } }; -ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, u8 player_index, bool debug) +ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, std::size_t player_index, bool 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>()) { diff --git a/src/yuzu/configuration/configure_input_player.h b/src/yuzu/configuration/configure_input_player.h index 937f77998..7a53f6715 100644 --- a/src/yuzu/configuration/configure_input_player.h +++ b/src/yuzu/configuration/configure_input_player.h @@ -30,7 +30,7 @@ class ConfigureInputPlayer : public QDialog { Q_OBJECT public: - explicit ConfigureInputPlayer(QWidget* parent, u8 player_index, bool debug = false); + explicit ConfigureInputPlayer(QWidget* parent, std::size_t player_index, bool debug = false); ~ConfigureInputPlayer() override; /// Save all button configurations to settings file @@ -62,7 +62,7 @@ private: std::unique_ptr<Ui::ConfigureInputPlayer> ui; - u8 player_index; + std::size_t player_index; bool debug; std::unique_ptr<QTimer> timeout_timer; |