Merge pull request #1020 from lioncash/gets

DolphinWX: Remove unnecessary unique_ptr get calls in InputConfigDiag
This commit is contained in:
Lioncash 2014-09-07 02:08:53 -04:00
commit 6ea82790ba
1 changed files with 3 additions and 3 deletions

View File

@ -911,13 +911,13 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
//options
for (auto& groupSetting : group->settings)
{
if (groupSetting.get()->high == DEFAULT_HIGH_VALUE)
if (groupSetting->high == DEFAULT_HIGH_VALUE)
{
PadSettingCheckBox* setting_cbox = new PadSettingCheckBox(parent, groupSetting.get());
if (groupSetting.get()->is_iterate == true)
if (groupSetting->is_iterate == true)
{
setting_cbox->wxcontrol->Bind(wxEVT_CHECKBOX, &GamepadPage::AdjustSettingUI, eventsink);
groupSetting.get()->value = 0;
groupSetting->value = 0;
}
else
{