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:
nerix
2023-08-28 18:38:41 +02:00
committed by GitHub
parent 7cb04bf58b
commit af4233850d
6 changed files with 7 additions and 13 deletions
+1 -1
View File
@@ -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();
}