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.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/widgets/channeltab.cpp b/src/gui/widgets/channeltab.cpp
index 32d6041f..a7370a4c 100644
--- a/src/gui/widgets/channeltab.cpp
+++ b/src/gui/widgets/channeltab.cpp
@@ -37,9 +37,6 @@ ChannelTab::ChannelTab(Channel *channel) :
ChannelTab::~ChannelTab()
{
- // Clear tab so the channel won't try to delete it again (otherwise we'd
- // run into issues if the ChatWindow is deleted before the channels are)
- mChannel->setTab(0);
}
void ChannelTab::handleInput(const std::string &msg)