X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/78cffd2979a6ed87e044fcb024cf4fdfc5c7cb3d..579eadeb6ddffb03e8043090a330c6dba0717299:/src/selectionmode/bottombar.cpp diff --git a/src/selectionmode/bottombar.cpp b/src/selectionmode/bottombar.cpp index 4ca184a6d..c912dd489 100644 --- a/src/selectionmode/bottombar.cpp +++ b/src/selectionmode/bottombar.cpp @@ -9,13 +9,11 @@ #include "bottombarcontentscontainer.h" #include "backgroundcolorhelper.h" -#include "global.h" #include #include #include #include -#include #include using namespace SelectionMode; @@ -52,7 +50,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 +112,7 @@ void BottomBar::slotSplitTabDisabled() switch (contents()) { case CopyToOtherViewContents: case MoveToOtherViewContents: - Q_EMIT leaveSelectionModeRequested(); + Q_EMIT selectionModeLeavingRequested(); default: return; }