diff options
author | bunnei <bunneidev@gmail.com> | 2019-06-05 18:03:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 18:03:05 -0400 |
commit | 8d7a012297ea884f0309ed2207eeb5e6c8d6a495 (patch) | |
tree | b6fa2198c4656ad70a3e916e56a7ee3ec4fc61d4 /src/yuzu/configuration/configure_per_general.cpp | |
parent | 0bcc305797924b4265106423d035fa3ce81c066c (diff) | |
parent | e1d755bdda96fe8b25fc8be4181f48ca158679f1 (diff) |
Merge pull request #2521 from lioncash/naming
yuzu/configuration: Make function naming consistent
Diffstat (limited to 'src/yuzu/configuration/configure_per_general.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_per_general.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/yuzu/configuration/configure_per_general.cpp b/src/yuzu/configuration/configure_per_general.cpp index c3e68fdf5..275519c7b 100644 --- a/src/yuzu/configuration/configure_per_general.cpp +++ b/src/yuzu/configuration/configure_per_general.cpp @@ -67,12 +67,12 @@ ConfigurePerGameGeneral::ConfigurePerGameGeneral(QWidget* parent, u64 title_id) connect(item_model, &QStandardItemModel::itemChanged, [] { UISettings::values.is_game_list_reload_pending.exchange(true); }); - this->loadConfiguration(); + LoadConfiguration(); } ConfigurePerGameGeneral::~ConfigurePerGameGeneral() = default; -void ConfigurePerGameGeneral::applyConfiguration() { +void ConfigurePerGameGeneral::ApplyConfiguration() { std::vector<std::string> disabled_addons; for (const auto& item : list_items) { @@ -92,12 +92,12 @@ void ConfigurePerGameGeneral::applyConfiguration() { Settings::values.disabled_addons[title_id] = disabled_addons; } -void ConfigurePerGameGeneral::loadFromFile(FileSys::VirtualFile file) { +void ConfigurePerGameGeneral::LoadFromFile(FileSys::VirtualFile file) { this->file = std::move(file); - this->loadConfiguration(); + LoadConfiguration(); } -void ConfigurePerGameGeneral::loadConfiguration() { +void ConfigurePerGameGeneral::LoadConfiguration() { if (file == nullptr) { return; } |