diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-14 02:05:43 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-14 14:30:08 +0200 |
commit | 5503338f211c7082420f864a4f2124f9960c1367 (patch) | |
tree | 1b2bb9519a95feb5990626e9f33b8e079a883903 | |
parent | configure_input_player: Eliminate variable shadowing (diff) | |
download | yuzu-5503338f211c7082420f864a4f2124f9960c1367.tar yuzu-5503338f211c7082420f864a4f2124f9960c1367.tar.gz yuzu-5503338f211c7082420f864a4f2124f9960c1367.tar.bz2 yuzu-5503338f211c7082420f864a4f2124f9960c1367.tar.lz yuzu-5503338f211c7082420f864a4f2124f9960c1367.tar.xz yuzu-5503338f211c7082420f864a4f2124f9960c1367.tar.zst yuzu-5503338f211c7082420f864a4f2124f9960c1367.zip |
-rw-r--r-- | src/yuzu/configuration/configure_per_game.cpp | 6 | ||||
-rw-r--r-- | src/yuzu/configuration/configure_per_game.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_per_game.cpp b/src/yuzu/configuration/configure_per_game.cpp index e7826b692..af8343b2e 100644 --- a/src/yuzu/configuration/configure_per_game.cpp +++ b/src/yuzu/configuration/configure_per_game.cpp @@ -35,10 +35,10 @@ #include "yuzu/uisettings.h" #include "yuzu/util/util.h" -ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id, const std::string& file_name, +ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id_, const std::string& file_name, Core::System& system_) - : QDialog(parent), ui(std::make_unique<Ui::ConfigurePerGame>()), - title_id(title_id), system{system_} { + : QDialog(parent), + ui(std::make_unique<Ui::ConfigurePerGame>()), title_id{title_id_}, system{system_} { const auto file_path = std::filesystem::path(Common::FS::ToU8String(file_name)); const auto config_file_name = title_id == 0 ? Common::FS::PathToUTF8String(file_path.filename()) : fmt::format("{:016X}", title_id); diff --git a/src/yuzu/configuration/configure_per_game.h b/src/yuzu/configuration/configure_per_game.h index cf71eb68b..17a98a0f3 100644 --- a/src/yuzu/configuration/configure_per_game.h +++ b/src/yuzu/configuration/configure_per_game.h @@ -39,7 +39,7 @@ class ConfigurePerGame : public QDialog { public: // Cannot use std::filesystem::path due to https://bugreports.qt.io/browse/QTBUG-73263 - explicit ConfigurePerGame(QWidget* parent, u64 title_id, const std::string& file_name, + explicit ConfigurePerGame(QWidget* parent, u64 title_id_, const std::string& file_name, Core::System& system_); ~ConfigurePerGame() override; |