diff options
| author | Felix Ernst <[email protected]> | 2022-04-28 22:55:28 +0200 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2022-08-14 14:42:40 +0000 |
| commit | 2e588733c759cccd2d86e34a3a394b9a8ab0c800 (patch) | |
| tree | dac34800b35fde72e7ee0dd1492586f89f1094a7 /src/selectionmode/bottombar.cpp | |
| parent | 78cffd2979a6ed87e044fcb024cf4fdfc5c7cb3d (diff) | |
Improve naming consistency and leave mode on Escape
Diffstat (limited to 'src/selectionmode/bottombar.cpp')
| -rw-r--r-- | src/selectionmode/bottombar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
