Removed the unused variable to make XCode compile pass.

This commit is contained in:
yusheng.lu 2015-01-20 19:56:00 +08:00
parent a35be8977a
commit 858bafdae9
1 changed files with 0 additions and 1 deletions

View File

@ -1455,7 +1455,6 @@ void UILayoutComponentTest_Editor::onChangeLayoutComponent(Ref* sender)
void UILayoutComponentTest_Editor::onResizeContainer(Ref* sender)
{
auto layoutController = Helper::seekWidgetByName(_root, "Panel_Controller");
auto layoutComponent = ui::LayoutComponent::bindLayoutComponent(_widget);
Size size = _container->getContentSize();
auto switchButton = Helper::seekWidgetByName(_root, "Button_Switch");
switchButton->setEnabled(false);