QMenu test: turn tooltip animations off
QTBUG_89082_actionTipsHide() is very flaky if tooltips fade in, as the mouse move might happen while the tooltip is still appearing. Fixes: QTBUG-91532 Pick-to: 6.1 6.0 5.15 Change-Id: I55305927fcf143d99dfff28d0bc70b2e831a139a Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
48488b810f
commit
d76d8571e2
@ -175,7 +175,9 @@ void tst_QMenu::getSetCheck()
|
||||
tst_QMenu::tst_QMenu()
|
||||
: m_onStatusTipTimerExecuted(false)
|
||||
{
|
||||
QApplication::setEffectEnabled(Qt::UI_FadeTooltip, false);
|
||||
QApplication::setEffectEnabled(Qt::UI_AnimateMenu, false);
|
||||
QApplication::setEffectEnabled(Qt::UI_AnimateTooltip, false);
|
||||
}
|
||||
|
||||
void tst_QMenu::initTestCase()
|
||||
|
Loading…
Reference in New Issue
Block a user