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
@@ -207,7 +207,7 @@ EmotePopup::EmotePopup(QWidget *parent)
, notebook_(new Notebook(this))
{
// this->setStayInScreenRect(true);
this->moveTo(getApp()->windows->emotePopupPos(), false,
this->moveTo(getApp()->windows->emotePopupPos(),
BaseWindow::BoundsChecker::DesiredPosition);
auto *layout = new QVBoxLayout();