fix the condition
This commit is contained in:
parent
4722cf45bc
commit
4e25b59b8e
@ -232,7 +232,8 @@ void ToolTip::hoverEnterEvent(QHoverEvent *event)
|
|||||||
ToolTipDialog::instance()->keepalive();
|
ToolTipDialog::instance()->keepalive();
|
||||||
//FIXME: showToolTip needs to be renamed in sync or something like that
|
//FIXME: showToolTip needs to be renamed in sync or something like that
|
||||||
showToolTip();
|
showToolTip();
|
||||||
} else if (!m_mainItem && !mainText().isEmpty() && !subText().isEmpty()) {
|
} else if (m_mainItem ||
|
||||||
|
(!mainText().isEmpty() && !subText().isEmpty())) {
|
||||||
m_showTimer->start(500);
|
m_showTimer->start(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user