[ToolTip] Stop show timer if hideTooltip is called

This prevents the tooltip from showing up if hideTooltip was called
before it was shown.

BUG: 358894

Differential Revision: https://phabricator.kde.org/D959
This commit is contained in:
Kai Uwe Broulik 2016-02-18 21:58:35 +01:00
parent 978529d175
commit eccf7cf0b2

View File

@ -255,6 +255,7 @@ void ToolTip::setInteractive(bool interactive)
void ToolTip::hideToolTip()
{
m_showTimer->stop();
tooltipDialogInstance()->dismiss();
}