From f4c0d85edfc8c6fb0d4d436f098e841bac72f5f1 Mon Sep 17 00:00:00 2001 From: David Athay Date: Thu, 15 May 2008 14:07:19 +0000 Subject: Added tab with image based on button --- src/gui/chat.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/chat.cpp') 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; -- cgit v1.2.3-60-g2f50