summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
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;