From 3b64f142e69356a36f3fcc3ffca9dc617faf109f Mon Sep 17 00:00:00 2001 From: unknown <1310440+hemirt@users.noreply.github.com> Date: Tue, 15 Oct 2024 02:43:30 +0200 Subject: [PATCH] commit suggestions --- src/widgets/helper/ChannelView.hpp | 3 ++- src/widgets/splits/SplitContainer.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/widgets/helper/ChannelView.hpp b/src/widgets/helper/ChannelView.hpp index 56dd15aa0..52d08803a 100644 --- a/src/widgets/helper/ChannelView.hpp +++ b/src/widgets/helper/ChannelView.hpp @@ -217,7 +217,8 @@ public: pajlada::Signals::Signal mouseDown; pajlada::Signals::NoArgSignal selectionChanged; - pajlada::Signals::Signal tabHighlightRequested; + pajlada::Signals::Signal + tabHighlightRequested; pajlada::Signals::NoArgSignal liveStatusChanged; pajlada::Signals::Signal linkClicked; pajlada::Signals::Signal diff --git a/src/widgets/splits/SplitContainer.cpp b/src/widgets/splits/SplitContainer.cpp index e8f654d0a..45ae0ced2 100644 --- a/src/widgets/splits/SplitContainer.cpp +++ b/src/widgets/splits/SplitContainer.cpp @@ -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); } });