summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-14 23:46:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-14 23:46:01 +0300
commitdf9f983d747a430ed9c2fddbbf1496f265dad6a4 (patch)
treee9d5249b7d49a5ca1e67bf61a0dd278af9f444ad /src/gui/widgets/tabbedarea.cpp
parent158dd2f34e7cbefa26bcfe9a3410640b1e7caa58 (diff)
downloadmanaplus-df9f983d747a430ed9c2fddbbf1496f265dad6a4.tar.gz
manaplus-df9f983d747a430ed9c2fddbbf1496f265dad6a4.tar.bz2
manaplus-df9f983d747a430ed9c2fddbbf1496f265dad6a4.tar.xz
manaplus-df9f983d747a430ed9c2fddbbf1496f265dad6a4.zip
fix adding gcc 4.7 support.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 9702d74f9..fc6526a13 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -464,7 +464,7 @@ void TabbedArea::removeAll()
{
if (getSelectedTabIndex() != -1)
{
- setSelectedTab(static_cast<unsigned int>(0));
+ setSelectedTabByPos(static_cast<unsigned int>(0));
}
while (getNumberOfTabs() > 0)
{