From c5ff21f7c6220953bd60e49879b31aee05d8f1cf Mon Sep 17 00:00:00 2001 From: WenhaiLin Date: Thu, 9 Apr 2015 16:18:24 +0800 Subject: [PATCH] [ci skip]Remove unwanted code. --- tests/cpp-tests/Classes/TextInputTest/TextInputTest.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/cpp-tests/Classes/TextInputTest/TextInputTest.cpp b/tests/cpp-tests/Classes/TextInputTest/TextInputTest.cpp index 543990d7cc..a4f9f81216 100644 --- a/tests/cpp-tests/Classes/TextInputTest/TextInputTest.cpp +++ b/tests/cpp-tests/Classes/TextInputTest/TextInputTest.cpp @@ -151,14 +151,6 @@ void TextFieldTTFDefaultTest::onEnter() // add TextFieldTTF auto s = Director::getInstance()->getWinSize(); - std::string strSubtitle = subtitle(); - TTFConfig ttfConfig; - ttfConfig.fontFilePath = FONT_NAME; - ttfConfig.fontSize = 16; - auto subTitle = Label::createWithTTF(ttfConfig, strSubtitle.c_str()); - addChild(subTitle, 9999); - subTitle->setPosition(VisibleRect::center().x, VisibleRect::top().y - 60); - auto pTextField = TextFieldTTF::textFieldWithPlaceHolder("", FONT_NAME, FONT_SIZE);