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:
@@ -503,14 +503,8 @@ void BaseWindow::leaveEvent(QEvent *)
|
||||
TooltipWidget::instance()->hide();
|
||||
}
|
||||
|
||||
void BaseWindow::moveTo(QPoint point, bool offset, BoundsChecker boundsChecker)
|
||||
void BaseWindow::moveTo(QPoint point, BoundsChecker boundsChecker)
|
||||
{
|
||||
if (offset)
|
||||
{
|
||||
point.rx() += 16;
|
||||
point.ry() += 16;
|
||||
}
|
||||
|
||||
switch (boundsChecker)
|
||||
{
|
||||
case BoundsChecker::Off: {
|
||||
|
||||
Reference in New Issue
Block a user