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
@@ -923,7 +923,7 @@ void CommandController::initialize(Settings &, Paths &paths)
static_cast<QWidget *>(&(getApp()->windows->getMainWindow())),
currentSplit);
userPopup->setData(userName, channel);
userPopup->moveTo(QCursor::pos(), false,
userPopup->moveTo(QCursor::pos(),
BaseWindow::BoundsChecker::CursorPosition);
userPopup->show();
return "";