X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/261b741d5feb356c1fa8a8ac42397f53eb13ca75..75183e609f6fa903afb5c2a9475d8cb10569532f:/src/selectionmode/topbar.cpp diff --git a/src/selectionmode/topbar.cpp b/src/selectionmode/topbar.cpp index 5d218dd99..67cac87cd 100644 --- a/src/selectionmode/topbar.cpp +++ b/src/selectionmode/topbar.cpp @@ -68,7 +68,7 @@ TopBar::TopBar(QWidget *parent) : m_closeButton = new QPushButton(QIcon::fromTheme(QStringLiteral("window-close-symbolic")), "", contentsContainer); m_closeButton->setText(i18nc("@action:button", "Exit Selection Mode")); m_closeButton->setFlat(true); - connect(m_closeButton, &QAbstractButton::pressed, + connect(m_closeButton, &QAbstractButton::clicked, this, &TopBar::selectionModeLeavingRequested); QHBoxLayout *layout = new QHBoxLayout(contentsContainer);