diff --git a/src/widgets/Notebook.hpp b/src/widgets/Notebook.hpp index 23888ae61..ac6c4dad7 100644 --- a/src/widgets/Notebook.hpp +++ b/src/widgets/Notebook.hpp @@ -2,7 +2,6 @@ #include "widgets/BaseWidget.hpp" -#include #include #include #include diff --git a/src/widgets/helper/NotebookTab.cpp b/src/widgets/helper/NotebookTab.cpp index 251b64af2..1040ebe38 100644 --- a/src/widgets/helper/NotebookTab.cpp +++ b/src/widgets/helper/NotebookTab.cpp @@ -356,7 +356,6 @@ void NotebookTab::newHighlightSourceAdded(const ChannelView &channelViewSource) { auto channelViewProxy = HighlightSources::ChannelViewProxy{&channelViewSource}; - auto sourceChannel = channelViewSource.underlyingChannel(); this->removeHighlightedSource(channelViewProxy); this->removeNewMessageSource(channelViewProxy); this->updateHighlightStateDueSourcesChange(); @@ -581,10 +580,6 @@ void NotebookTab::updateHighlightState(HighlightState newHighlightStyle, auto channelViewProxy = HighlightSources::ChannelViewProxy{&channelViewSource}; - // the unvisible tab should unhighlight other tabs iff - // the other tab's filters are more generic therefore - // the other tab's filter set is subset of the unvisible tab - switch (newHighlightStyle) { case HighlightState::Highlighted: {