mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
commit suggestions
This commit is contained in:
parent
e827097c1c
commit
3b64f142e6
|
@ -217,7 +217,8 @@ public:
|
||||||
|
|
||||||
pajlada::Signals::Signal<QMouseEvent *> mouseDown;
|
pajlada::Signals::Signal<QMouseEvent *> mouseDown;
|
||||||
pajlada::Signals::NoArgSignal selectionChanged;
|
pajlada::Signals::NoArgSignal selectionChanged;
|
||||||
pajlada::Signals::Signal<HighlightState, MessagePtr> tabHighlightRequested;
|
pajlada::Signals::Signal<HighlightState, const MessagePtr &>
|
||||||
|
tabHighlightRequested;
|
||||||
pajlada::Signals::NoArgSignal liveStatusChanged;
|
pajlada::Signals::NoArgSignal liveStatusChanged;
|
||||||
pajlada::Signals::Signal<const Link &> linkClicked;
|
pajlada::Signals::Signal<const Link &> linkClicked;
|
||||||
pajlada::Signals::Signal<QString, FromTwitchLinkOpenChannelIn>
|
pajlada::Signals::Signal<QString, FromTwitchLinkOpenChannelIn>
|
||||||
|
|
|
@ -215,11 +215,11 @@ void SplitContainer::addSplit(Split *split)
|
||||||
|
|
||||||
conns.managedConnect(split->getChannelView().tabHighlightRequested,
|
conns.managedConnect(split->getChannelView().tabHighlightRequested,
|
||||||
[this, &channelView = split->getChannelView()](
|
[this, &channelView = split->getChannelView()](
|
||||||
HighlightState state, MessagePtr message) {
|
HighlightState state, const MessagePtr &message) {
|
||||||
if (this->tab_ != nullptr)
|
if (this->tab_ != nullptr)
|
||||||
{
|
{
|
||||||
this->tab_->setHighlightState(
|
this->tab_->setHighlightState(
|
||||||
state, channelView, std::move(message));
|
state, channelView, message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue