From 2e588733c759cccd2d86e34a3a394b9a8ab0c800 Mon Sep 17 00:00:00 2001 From: Felix Ernst Date: Thu, 28 Apr 2022 22:55:28 +0200 Subject: Improve naming consistency and leave mode on Escape --- src/selectionmode/bottombar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/selectionmode/bottombar.cpp') diff --git a/src/selectionmode/bottombar.cpp b/src/selectionmode/bottombar.cpp index 4ca184a6d..529384435 100644 --- a/src/selectionmode/bottombar.cpp +++ b/src/selectionmode/bottombar.cpp @@ -52,7 +52,7 @@ BottomBar::BottomBar(KActionCollection *actionCollection, QWidget *parent) : } setVisibleInternal(visible, WithAnimation); }); - connect(m_contentsContainer, &BottomBarContentsContainer::leaveSelectionModeRequested, this, &BottomBar::leaveSelectionModeRequested); + connect(m_contentsContainer, &BottomBarContentsContainer::selectionModeLeavingRequested, this, &BottomBar::selectionModeLeavingRequested); BackgroundColorHelper::instance()->controlBackgroundColor(this); } @@ -114,7 +114,7 @@ void BottomBar::slotSplitTabDisabled() switch (contents()) { case CopyToOtherViewContents: case MoveToOtherViewContents: - Q_EMIT leaveSelectionModeRequested(); + Q_EMIT selectionModeLeavingRequested(); default: return; } -- cgit v1.3