diff --git a/src/widgets/chatwidget.cpp b/src/widgets/chatwidget.cpp index 96d4ff0ef..b6d911a50 100644 --- a/src/widgets/chatwidget.cpp +++ b/src/widgets/chatwidget.cpp @@ -215,7 +215,6 @@ boost::property_tree::ptree ChatWidget::save() } /// Slots -// void ChatWidget::doAddSplit() { NotebookPage *page = static_cast(this->parentWidget()); @@ -224,7 +223,8 @@ void ChatWidget::doAddSplit() void ChatWidget::doCloseSplit() { - qDebug() << "[UNIMPLEMENTED] Close split for" << this->getChannelName(); + NotebookPage *page = static_cast(this->parentWidget()); + page->removeFromLayout(this); } void ChatWidget::doChangeChannel()