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