summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-31 07:49:09 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-31 07:49:09 (GMT)
commitfa5bb7d57500501213a8ff504066ebad73efdcd7 (patch)
treeff5358fd1151de85982b144f16800a3e97ef3c50
parent8f030c3145a3161c4928489f21594bb3c2731685 (diff)
whatthis is always empty
-rw-r--r--messageviewer/src/viewer/viewer_p.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/messageviewer/src/viewer/viewer_p.cpp b/messageviewer/src/viewer/viewer_p.cpp
index d6b1328..0ee7e5d 100644
--- a/messageviewer/src/viewer/viewer_p.cpp
+++ b/messageviewer/src/viewer/viewer_p.cpp
@@ -3048,9 +3048,7 @@ void ViewerPrivate::addHelpTextAction(QAction *act, const QString &text)
{
act->setStatusTip(text);
act->setToolTip(text);
- if (act->whatsThis().isEmpty()) {
- act->setWhatsThis(text);
- }
+ act->setWhatsThis(text);
}
void ViewerPrivate::slotRefreshMessage(const Akonadi::Item &item)