1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

[StatusBarMessage] Close on mouse move/press

Closes #1393
This commit is contained in:
David Rosca 2014-07-08 18:20:02 +02:00
parent c5e44b367b
commit 0334526a18

View File

@ -94,6 +94,13 @@ bool TipLabel::eventFilter(QObject* o, QEvent* e)
hide();
break;
case QEvent::MouseMove:
case QEvent::MouseButtonPress:
case QEvent::MouseButtonRelease:
if (o == this)
hide();
break;
default:
break;
}