don't lose the final position on showEvent
if there is an animation running and a showEvent happens, set the position to the supposed endValue before killing the animation BUG:331981
This commit is contained in:
parent
1415c07d4b
commit
c8844799eb
@ -91,6 +91,7 @@ void ToolTipDialog::showEvent(QShowEvent *event)
|
||||
{
|
||||
m_showTimer->start(m_hideTimeout);
|
||||
|
||||
setPosition(m_animation->endValue().toPoint());
|
||||
m_animation->stop();
|
||||
Dialog::showEvent(event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user