diff --git a/src/declarativeimports/core/tooltip.cpp b/src/declarativeimports/core/tooltip.cpp index 11aaaff73..b9b160553 100644 --- a/src/declarativeimports/core/tooltip.cpp +++ b/src/declarativeimports/core/tooltip.cpp @@ -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); } }