Skip to content

Commit

Permalink
Merge pull request #2277 from lioncash/bool
Browse files Browse the repository at this point in the history
TASInputDlg: Remove unnecessary explicit bools
  • Loading branch information
skidau committed Apr 8, 2015
2 parents aa54931 + ec96119 commit 717b326
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/Core/DolphinWX/TASInputDlg.cpp
Expand Up @@ -64,13 +64,13 @@ void TASInputDlg::CreateBaseLayout()
m_dpad_left = CreateButton("Left");

m_buttons_dpad->AddSpacer(20);
m_buttons_dpad->Add(m_dpad_up.checkbox, false);
m_buttons_dpad->Add(m_dpad_up.checkbox);
m_buttons_dpad->AddSpacer(20);
m_buttons_dpad->Add(m_dpad_left.checkbox, false);
m_buttons_dpad->Add(m_dpad_left.checkbox);
m_buttons_dpad->AddSpacer(20);
m_buttons_dpad->Add(m_dpad_right.checkbox, false);
m_buttons_dpad->Add(m_dpad_right.checkbox);
m_buttons_dpad->AddSpacer(20);
m_buttons_dpad->Add(m_dpad_down.checkbox, false);
m_buttons_dpad->Add(m_dpad_down.checkbox);
m_buttons_dpad->AddSpacer(20);

Bind(wxEVT_CLOSE_WINDOW, &TASInputDlg::OnCloseWindow, this);
Expand Down Expand Up @@ -170,7 +170,7 @@ void TASInputDlg::CreateWiiLayout(int num)

for (unsigned int i = 4; i < 14; ++i)
if (m_buttons[i] != nullptr)
m_buttons_grid->Add(m_buttons[i]->checkbox, false);
m_buttons_grid->Add(m_buttons[i]->checkbox);
m_buttons_grid->AddSpacer(5);

m_buttons_box->Add(m_buttons_grid);
Expand Down

0 comments on commit 717b326

Please sign in to comment.