DolphinWX: Remove unnecessary unique_ptr get calls in InputConfigDiag

This commit is contained in:
Lioncash 2014-09-07 01:59:16 -04:00
parent d12d4a558b
commit e218c38721

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
{