From b58452bf9e95b79af03b3316fa4bb8e16d92194a Mon Sep 17 00:00:00 2001 From: Steven Cherry Date: Sun, 12 Jun 2016 21:12:45 -0500 Subject: [PATCH] Clean up --- src/citra_qt/config.cpp | 2 +- src/citra_qt/config.h | 2 +- src/citra_qt/configure_input.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp index 0c47ef899..a1ab80cd9 100644 --- a/src/citra_qt/config.cpp +++ b/src/citra_qt/config.cpp @@ -31,7 +31,7 @@ const std::array Config::defaults = Qt::Key_D, }; -const std::array& Config::getDefaultInput() +const std::array& Config::GetDefaultInput() { return defaults; } diff --git a/src/citra_qt/config.h b/src/citra_qt/config.h index d56d10658..0ef55b28a 100644 --- a/src/citra_qt/config.h +++ b/src/citra_qt/config.h @@ -24,5 +24,5 @@ public: void Reload(); void Save(); - static const std::array& getDefaultInput(); + static const std::array& GetDefaultInput(); }; diff --git a/src/citra_qt/configure_input.cpp b/src/citra_qt/configure_input.cpp index 6046f527c..9cb704d7d 100644 --- a/src/citra_qt/configure_input.cpp +++ b/src/citra_qt/configure_input.cpp @@ -161,7 +161,7 @@ void ConfigureInput::removeDuplicates(const QString& newValue) /// Restore all buttons to their default values. void ConfigureInput::restoreDefaults() { for (int i = 0; i < Settings::NativeInput::NUM_INPUTS - 1; ++i) { - QString keyValue = getKeyName(Config::getDefaultInput()[i].toInt()); + QString keyValue = getKeyName(Config::GetDefaultInput()[i].toInt()); input_mapping[Settings::NativeInput::Values(i)]->setText(keyValue); } }