fix tooltip positioning
don't ever try to reposition the tooltip on showEvent Change-Id: Ie1c159c092baf480ab3cbb83e537b28e354973bf
This commit is contained in:
parent
534733558c
commit
2d7dfd2147
@ -77,10 +77,9 @@ QQuickItem *ToolTipDialog::loadDefaultItem()
|
||||
void ToolTipDialog::showEvent(QShowEvent *event)
|
||||
{
|
||||
m_showTimer->start(m_hideTimeout);
|
||||
|
||||
m_animation->stop();
|
||||
|
||||
Dialog::showEvent(event);
|
||||
setPosition(m_animation->endValue().toPoint());
|
||||
}
|
||||
|
||||
void ToolTipDialog::hideEvent(QHideEvent *event)
|
||||
|
Loading…
Reference in New Issue
Block a user