summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <[email protected]>2017-07-10 16:59:50 -0400
committerAllen Winter <[email protected]>2017-07-10 17:05:10 -0400
commitaa0233dd9f121b1f09f16e60351ae972b2948bde (patch)
tree35225fcadcc9943144aad7b6f5b1673215f0af28
parentd993bb823a46a53d214c773123c76d6c039e517b (diff)
searchdialog.cpp - add whatsthis to the search button
-rw-r--r--src/dialog/searchdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dialog/searchdialog.cpp b/src/dialog/searchdialog.cpp
index a3920db..b3dd547 100644
--- a/src/dialog/searchdialog.cpp
+++ b/src/dialog/searchdialog.cpp
@@ -81,6 +81,9 @@ SearchDialog::SearchDialog(CalendarView *calendarview)
mUser1Button->setDefault(true);
KGuiItem::assign(mUser1Button, KGuiItem(i18nc("search in calendar", "&Search")));
mUser1Button->setToolTip(i18n("Start searching"));
+ mUser1Button->setWhatsThis(
+ i18nc("@info:whatsthis",
+ "Press this button to start the search."));
connect(mUser1Button, &QPushButton::clicked, this, &SearchDialog::doSearch);