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 aac1cdb6..48056f52 100644
--- a/src/gui/widgets/channeltab.cpp
+++ b/src/gui/widgets/channeltab.cpp
@@ -37,8 +37,8 @@ ChannelTab::ChannelTab(Channel *channel) :
ChannelTab::~ChannelTab()
{
- // Clear tab so the channel won't try to (if the ChatWindow is cleared
- // before the channels are, we'll run into issues without this)
+ // 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);
}