┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/selectionmode/bottombarcontentscontainer.cpp2
-rw-r--r--src/selectionmode/bottombarcontentscontainer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/selectionmode/bottombarcontentscontainer.cpp b/src/selectionmode/bottombarcontentscontainer.cpp
index 048e845a0..1634cf4c9 100644
--- a/src/selectionmode/bottombarcontentscontainer.cpp
+++ b/src/selectionmode/bottombarcontentscontainer.cpp
@@ -388,7 +388,7 @@ void BottomBarContentsContainer::addPasteContents()
* So we first have to claim that we have different contents before requesting to leave selection mode. */
auto actuallyLeaveSelectionMode = [this]() {
m_contents = BottomBar::Contents::CopyLocationContents;
- Q_EMIT selectionModeLeavingRequested();
+ Q_EMIT barVisibilityChangeRequested(false);
};
auto *pasteButton = new QPushButton(this);
diff --git a/src/selectionmode/bottombarcontentscontainer.h b/src/selectionmode/bottombarcontentscontainer.h
index 6d44adf74..6cb66fcc1 100644
--- a/src/selectionmode/bottombarcontentscontainer.h
+++ b/src/selectionmode/bottombarcontentscontainer.h
@@ -74,7 +74,7 @@ Q_SIGNALS:
/**
* When it does not make sense to show any specific contents, this signal is emitted and the receiver hides the bar.
- * Later it might sense to show it again e.g. because the user selected items. Then this signal is used to request showing of the bar.
+ * Later it might make sense to show it again e.g. because the user selected items. Then this signal is used to request showing of the bar.
*/
void barVisibilityChangeRequested(bool visible);