Allow any window to be bounds-checked (#4802)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix
2023-09-24 15:32:43 +02:00
committed by GitHub
parent 37009e8e6b
commit 783c7530f3
9 changed files with 122 additions and 88 deletions
+1 -1
View File
@@ -956,7 +956,7 @@ void SplitHeader::enterEvent(QEvent *event)
auto pos = this->mapToGlobal(this->rect().bottomLeft()) +
QPoint((this->width() - tooltip->width()) / 2, 1);
tooltip->moveTo(pos, BaseWindow::BoundsChecker::CursorPosition);
tooltip->moveTo(pos, widgets::BoundsChecking::CursorPosition);
tooltip->show();
}