┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/selectionmode/topbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selectionmode/topbar.cpp')
-rw-r--r--src/selectionmode/topbar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/selectionmode/topbar.cpp b/src/selectionmode/topbar.cpp
index 0a5d3f2cf..5d218dd99 100644
--- a/src/selectionmode/topbar.cpp
+++ b/src/selectionmode/topbar.cpp
@@ -66,8 +66,7 @@ TopBar::TopBar(QWidget *parent) :
BackgroundColorHelper::instance()->controlBackgroundColor(m_label);
m_closeButton = new QPushButton(QIcon::fromTheme(QStringLiteral("window-close-symbolic")), "", contentsContainer);
- m_closeButton->setToolTip(i18nc("@action:button", "Exit Selection Mode"));
- m_closeButton->setAccessibleName(m_closeButton->toolTip());
+ m_closeButton->setText(i18nc("@action:button", "Exit Selection Mode"));
m_closeButton->setFlat(true);
connect(m_closeButton, &QAbstractButton::pressed,
this, &TopBar::selectionModeLeavingRequested);