diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-11 00:03:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-11 00:51:29 +0300 |
commit | 05c3c78e18253d2a9faaebea16ee4ff0474db446 (patch) | |
tree | c043bcc95a2fa917cb4aedf0adb04d33e039a694 /src/gui/socialwindow.cpp | |
parent | bb4b31241a30c16eba2506fff89b4057e4a7c6ee (diff) | |
download | ManaVerse-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/socialwindow.cpp')
-rw-r--r-- | src/gui/socialwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index f5e293e5d..2d8ecc54f 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -1610,7 +1610,7 @@ void SocialWindow::nextTab() if (tab == mTabs->getNumberOfTabs()) tab = 0; - mTabs->setSelectedTab(tab); + mTabs->setSelectedTabByPos(tab); } void SocialWindow::prevTab() @@ -1624,7 +1624,7 @@ void SocialWindow::prevTab() tab = mTabs->getNumberOfTabs(); tab--; - mTabs->setSelectedTab(tab); + mTabs->setSelectedTabByPos(tab); } void SocialWindow::updateAttackFilter() |