commit suggestions

This commit is contained in:
unknown 2024-10-15 02:43:30 +02:00
parent e827097c1c
commit 3b64f142e6
2 changed files with 4 additions and 3 deletions

View file

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

View file

@ -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);
}
});