diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-14 23:46:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-14 23:46:01 +0300 |
commit | df9f983d747a430ed9c2fddbbf1496f265dad6a4 (patch) | |
tree | e9d5249b7d49a5ca1e67bf61a0dd278af9f444ad /src/gui | |
parent | 158dd2f34e7cbefa26bcfe9a3410640b1e7caa58 (diff) | |
download | manaverse-df9f983d747a430ed9c2fddbbf1496f265dad6a4.tar.gz manaverse-df9f983d747a430ed9c2fddbbf1496f265dad6a4.tar.bz2 manaverse-df9f983d747a430ed9c2fddbbf1496f265dad6a4.tar.xz manaverse-df9f983d747a430ed9c2fddbbf1496f265dad6a4.zip |
fix adding gcc 4.7 support.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/chatwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index a775510b0..899bbdc36 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -460,7 +460,7 @@ void ChatWindow::closeTab() void ChatWindow::defaultTab() { if (mChatTabs) - mChatTabs->setSelectedTab(static_cast<unsigned>(0)); + mChatTabs->setSelectedTabByPos(static_cast<unsigned>(0)); } void ChatWindow::action(const gcn::ActionEvent &event) 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) { |