From fd3c474d946bc505d4db60ed6bef3d16956e5464 Mon Sep 17 00:00:00 2001 From: Tom Z Date: Sun, 3 Oct 2021 00:10:35 +0200 Subject: [PATCH] No longer set whatsThis to be duplicate of tooltip Now the base libs show a tooltip and a whatsthis in the same widget this duplication is a bad idea. --- src/kstandardgameaction.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kstandardgameaction.cpp b/src/kstandardgameaction.cpp index 5d75e28e..456a21c3 100644 --- a/src/kstandardgameaction.cpp +++ b/src/kstandardgameaction.cpp @@ -113,8 +113,6 @@ QAction* KStandardGameAction::_k_createInternal(KStandardGameAction::StandardGam pAction->setToolTip(i18n(pInfo->psToolTip)); if (pInfo->psWhatsThis) pAction->setWhatsThis(i18n(pInfo->psWhatsThis)); - else if (pInfo->psToolTip) - pAction->setWhatsThis(i18n(pInfo->psToolTip)); pAction->setObjectName(QLatin1String( pInfo->psName )); } -- GitLab