mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 15:30:14 +00:00
Clean up
This commit is contained in:
parent
edb155f9e5
commit
e07e3d38e3
@ -31,7 +31,7 @@ const std::array<QVariant, Settings::NativeInput::NUM_INPUTS> Config::defaults =
|
||||
Qt::Key_D,
|
||||
};
|
||||
|
||||
const std::array<QVariant, Settings::NativeInput::NUM_INPUTS>& Config::getDefaultInput()
|
||||
const std::array<QVariant, Settings::NativeInput::NUM_INPUTS>& Config::GetDefaultInput()
|
||||
{
|
||||
return defaults;
|
||||
}
|
||||
|
@ -24,5 +24,5 @@ public:
|
||||
|
||||
void Reload();
|
||||
void Save();
|
||||
static const std::array<QVariant, Settings::NativeInput::NUM_INPUTS>& getDefaultInput();
|
||||
static const std::array<QVariant, Settings::NativeInput::NUM_INPUTS>& GetDefaultInput();
|
||||
};
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user