Remove offset logic from BaseWindow::moveTo (#4798)
It's now up to each window to offset its coordinates themselves (which is good 👍 )
This commit is contained in:
@@ -955,7 +955,7 @@ void SplitHeader::enterEvent(QEvent *event)
|
||||
auto pos = this->mapToGlobal(this->rect().bottomLeft()) +
|
||||
QPoint((this->width() - tooltip->width()) / 2, 1);
|
||||
|
||||
tooltip->moveTo(pos, false, BaseWindow::BoundsChecker::CursorPosition);
|
||||
tooltip->moveTo(pos, BaseWindow::BoundsChecker::CursorPosition);
|
||||
tooltip->show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user