mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
remove leftovers
This commit is contained in:
parent
e5e5a79645
commit
374e0c5fa0
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
#include "widgets/BaseWidget.hpp"
|
#include "widgets/BaseWidget.hpp"
|
||||||
|
|
||||||
#include <ForwardDecl.hpp>
|
|
||||||
#include <pajlada/signals/signal.hpp>
|
#include <pajlada/signals/signal.hpp>
|
||||||
#include <pajlada/signals/signalholder.hpp>
|
#include <pajlada/signals/signalholder.hpp>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
|
|
@ -356,7 +356,6 @@ void NotebookTab::newHighlightSourceAdded(const ChannelView &channelViewSource)
|
||||||
{
|
{
|
||||||
auto channelViewProxy =
|
auto channelViewProxy =
|
||||||
HighlightSources::ChannelViewProxy{&channelViewSource};
|
HighlightSources::ChannelViewProxy{&channelViewSource};
|
||||||
auto sourceChannel = channelViewSource.underlyingChannel();
|
|
||||||
this->removeHighlightedSource(channelViewProxy);
|
this->removeHighlightedSource(channelViewProxy);
|
||||||
this->removeNewMessageSource(channelViewProxy);
|
this->removeNewMessageSource(channelViewProxy);
|
||||||
this->updateHighlightStateDueSourcesChange();
|
this->updateHighlightStateDueSourcesChange();
|
||||||
|
@ -581,10 +580,6 @@ void NotebookTab::updateHighlightState(HighlightState newHighlightStyle,
|
||||||
auto channelViewProxy =
|
auto channelViewProxy =
|
||||||
HighlightSources::ChannelViewProxy{&channelViewSource};
|
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)
|
switch (newHighlightStyle)
|
||||||
{
|
{
|
||||||
case HighlightState::Highlighted: {
|
case HighlightState::Highlighted: {
|
||||||
|
|
Loading…
Reference in a new issue