remove leftovers

This commit is contained in:
unknown 2024-10-23 00:28:47 +02:00
parent e5e5a79645
commit 374e0c5fa0
2 changed files with 0 additions and 6 deletions

View file

@ -2,7 +2,6 @@
#include "widgets/BaseWidget.hpp"
#include <ForwardDecl.hpp>
#include <pajlada/signals/signal.hpp>
#include <pajlada/signals/signalholder.hpp>
#include <QList>

View file

@ -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: {