summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-02 17:12:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-02 17:12:54 +0300
commit8dcb524443a82506b522344f3d4353769f51883c (patch)
treece7a71d2cf1c6debeca31b4f92c7cb2871870722 /src/gui/windows/chatwindow.cpp
parentab2c75888d63977e2a24793ce96c6adcd0eb7e0e (diff)
downloadplus-8dcb524443a82506b522344f3d4353769f51883c.tar.gz
plus-8dcb524443a82506b522344f3d4353769f51883c.tar.bz2
plus-8dcb524443a82506b522344f3d4353769f51883c.tar.xz
plus-8dcb524443a82506b522344f3d4353769f51883c.zip
bit cleanup tabbedarea.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 47627e664..ee68e53c1 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -418,7 +418,7 @@ void ChatWindow::prevTab()
tab = mChatTabs->getNumberOfTabs();
tab--;
- mChatTabs->setSelectedTabByPos(tab);
+ mChatTabs->setSelectedTabByIndex(tab);
}
void ChatWindow::nextTab()
@@ -432,7 +432,7 @@ void ChatWindow::nextTab()
if (tab == mChatTabs->getNumberOfTabs())
tab = 0;
- mChatTabs->setSelectedTabByPos(tab);
+ mChatTabs->setSelectedTabByIndex(tab);
}
void ChatWindow::closeTab() const
@@ -454,7 +454,7 @@ void ChatWindow::closeTab() const
void ChatWindow::defaultTab()
{
if (mChatTabs)
- mChatTabs->setSelectedTabByPos(static_cast<unsigned>(0));
+ mChatTabs->setSelectedTabByIndex(static_cast<unsigned>(0));
}
void ChatWindow::action(const gcn::ActionEvent &event)