fixed tooltip flickering for SplitHeader

This commit is contained in:
fourtf 2020-09-25 22:21:30 +02:00
parent ed87d6e2fa
commit 45a1034edf

View file

@ -730,7 +730,7 @@ void SplitHeader::enterEvent(QEvent *event)
tooltip->setWordWrap(true);
tooltip->adjustSize();
auto pos = this->mapToGlobal(this->rect().bottomLeft()) +
QPoint((this->width() - tooltip->width()) / 2, 0);
QPoint((this->width() - tooltip->width()) / 2, 1);
tooltip->moveTo(this, pos, false);
tooltip->show();