diff --git a/src/widgets/kernel/qtooltip.cpp b/src/widgets/kernel/qtooltip.cpp index add2a44e..84054d40 100644 --- a/src/widgets/kernel/qtooltip.cpp +++ b/src/widgets/kernel/qtooltip.cpp @@ -508,14 +508,15 @@ void QToolTip::showText(const QPoint &pos, const QString &text, QWidget *w, cons else if (!QTipLabel::instance->fadingOut){ // If the tip has changed, reuse the one // that is showing (removes flickering) - QPoint localPos = pos; - if (w) - localPos = w->mapFromGlobal(pos); - if (QTipLabel::instance->tipChanged(localPos, text, w)){ - QTipLabel::instance->reuseTip(text, msecDisplayTime, pos); - QTipLabel::instance->setTipRect(w, rect); - QTipLabel::instance->placeTip(pos, w); - } + // QPoint localPos = pos; + // if (w) + // localPos = w->mapFromGlobal(pos); + // if (QTipLabel::instance->tipChanged(localPos, text, w)){ + // QTipLabel::instance->reuseTip(text, msecDisplayTime, pos); + // QTipLabel::instance->setTipRect(w, rect); + // QTipLabel::instance->placeTip(pos, w); + // } + QTipLabel::instance->hideTip(); return; } }