summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-11 00:03:05 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-11 00:51:29 +0300
commit05c3c78e18253d2a9faaebea16ee4ff0474db446 (patch)
treec043bcc95a2fa917cb4aedf0adb04d33e039a694 /src/gui/setup.cpp
parentbb4b31241a30c16eba2506fff89b4057e4a7c6ee (diff)
downloadmanaverse-05c3c78e18253d2a9faaebea16ee4ff0474db446.tar.gz
manaverse-05c3c78e18253d2a9faaebea16ee4ff0474db446.tar.bz2
manaverse-05c3c78e18253d2a9faaebea16ee4ff0474db446.tar.xz
manaverse-05c3c78e18253d2a9faaebea16ee4ff0474db446.zip
Fix compliation under gcc 4.7 snapshot.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index f76f738c6..bac474950 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -201,7 +201,7 @@ void Setup::doCancel()
void Setup::activateTab(const std::string &name)
{
std::string tmp = gettext(name.c_str());
- mPanel->setSelectedTab(tmp);
+ mPanel->setSelectedTabByName(tmp);
/*
for (std::list<SetupTab*>::const_iterator it = mTabs.begin();
it != mTabs.end(); ++it)
@@ -212,7 +212,7 @@ void Setup::activateTab(const std::string &name)
logger->log("check tab: " + tab->getName());
if (tab->getName() == tmp)
{
- mPanel->setSelectedTab(name);
+ mPanel->setSelectedTabByName(name);
return;
}
}