summaryrefslogtreecommitdiff
path: root/src/gui/widgets/channeltab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/channeltab.cpp')
-rw-r--r--src/gui/widgets/channeltab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/channeltab.cpp b/src/gui/widgets/channeltab.cpp
index b9ea96650..bcb5b1002 100644
--- a/src/gui/widgets/channeltab.cpp
+++ b/src/gui/widgets/channeltab.cpp
@@ -31,8 +31,8 @@
#include "debug.h"
-ChannelTab::ChannelTab(Channel *const channel) :
- ChatTab(channel->getName()),
+ChannelTab::ChannelTab(const Widget2 *const widget, Channel *const channel) :
+ ChatTab(widget, channel->getName()),
mChannel(channel)
{
channel->setTab(this);