Don't require mandatory subText in tooltip
REVIEW: 118838
This commit is contained in:
parent
0ba92ad6c2
commit
21af3f8c81
@ -320,8 +320,7 @@ void ToolTip::hoverEnterEvent(QHoverEvent *event)
|
||||
tooltipDialogInstance()->keepalive();
|
||||
//FIXME: showToolTip needs to be renamed in sync or something like that
|
||||
showToolTip();
|
||||
} else if (m_mainItem ||
|
||||
(!mainText().isEmpty() && !subText().isEmpty())) {
|
||||
} else if (m_mainItem || !mainText().isEmpty() || !subText().isEmpty()) {
|
||||
m_showTimer->start(m_interval);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user