Attempt to solve Travis CI build

This commit is contained in:
sum2012 committed 2014-06-02 18:28:16 +08:00
1 parent d3c511e793
commit 6ed269d16b
2 files changed
+4 -3

No files matched your search

+2
View File
@@ -709,6 +709,7 @@ void ProAdhocServerScreen::CreateViews() {
I18NCategory *s = GetI18NCategory("System");
I18NCategory *d = GetI18NCategory("Dialog");
tempProAdhocServer = g_Config.proAdhocServer;
root_ = new AnchorLayout(new LayoutParams(FILL_PARENT, FILL_PARENT));
LinearLayout *leftColumn = new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT));
@@ -834,6 +835,7 @@ void MacAddressScreen::CreateViews() {
I18NCategory *s = GetI18NCategory("System");
I18NCategory *d = GetI18NCategory("Dialog");
tempMacAddress = g_Config.localMacAddress;
root_ = new AnchorLayout(new LayoutParams(FILL_PARENT, FILL_PARENT));
LinearLayout *leftColumn = new LinearLayout(ORIENT_VERTICAL, new LinearLayoutParams(FILL_PARENT, FILL_PARENT));
+2 -3
View File
@@ -19,7 +19,6 @@
#include "ui/ui_screen.h"
#include "UI/MiscScreens.h"
#include "Core/Config.h"
// Per-game settings screen - enables you to configure graphic options, control options, etc
// per game.
@@ -112,7 +111,7 @@ protected:
virtual void CreateViews();
private:
std::string tempProAdhocServer = g_Config.proAdhocServer;
std::string tempProAdhocServer;
UI::TextView *addrView_;
UI::EventReturn OnBack(UI::EventParams &e);
UI::EventReturn On0Click(UI::EventParams &e);
@@ -140,7 +139,7 @@ protected:
virtual void CreateViews();
private:
std::string tempMacAddress = g_Config.localMacAddress;
std::string tempMacAddress;
UI::TextView *addrView_;
UI::EventReturn OnBack(UI::EventParams &e);
UI::EventReturn OnAClick(UI::EventParams &e);