summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-05-15 14:07:19 +0000
committerDavid Athay <ko2fan@gmail.com>2008-05-15 14:07:19 +0000
commitf4c0d85edfc8c6fb0d4d436f098e841bac72f5f1 (patch)
tree34a053b8ec7995dab3b54b025764ff511a0b6954 /src/gui/chat.cpp
parent96b79b905b22bfcf4b35c26e6e70065e4ce3222c (diff)
downloadmana-client-f4c0d85edfc8c6fb0d4d436f098e841bac72f5f1.tar.gz
mana-client-f4c0d85edfc8c6fb0d4d436f098e841bac72f5f1.tar.bz2
mana-client-f4c0d85edfc8c6fb0d4d436f098e841bac72f5f1.tar.xz
mana-client-f4c0d85edfc8c6fb0d4d436f098e841bac72f5f1.zip
Added tab with image based on button
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index fec2394b..c15f7968 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -34,6 +34,7 @@
#include "sdlinput.h"
#include "windowcontainer.h"
+#include "widgets/tab.h"
#include "widgets/tabbedarea.h"
#include "../channelmanager.h"
@@ -488,7 +489,7 @@ ChatWindow::removeChannel(Channel *channel)
{
if (channel)
{
- gcn::Tab *tab = mChatTabs->getTab(channel->getName());
+ Tab *tab = mChatTabs->getTab(channel->getName());
if (!tab)
return;
mChatTabs->removeTab(tab);
@@ -595,7 +596,7 @@ ChatWindow::setVisible(bool isVisible)
bool
ChatWindow::tabExists(const std::string &tabName)
{
- gcn::Tab *tab = mChatTabs->getTab(tabName);
+ Tab *tab = mChatTabs->getTab(tabName);
if (tab)
return true;
return false;