chore: bump deprecated cutoff to Qt 6.4.3 (#6169)

This commit is contained in:
nerix
2025-04-26 13:36:09 +02:00
committed by GitHub
parent 6fe6843cbd
commit 01e7050ffc
15 changed files with 134 additions and 118 deletions
+4 -3
View File
@@ -232,7 +232,7 @@ bool OverlayWindow::eventFilter(QObject * /*object*/, QEvent *event)
case QEvent::MouseButtonPress: {
auto *evt = dynamic_cast<QMouseEvent *>(event);
this->moving_ = true;
this->moveOrigin_ = evt->globalPos();
this->moveOrigin_ = evt->globalPosition().toPoint();
return true;
}
break;
@@ -249,9 +249,10 @@ bool OverlayWindow::eventFilter(QObject * /*object*/, QEvent *event)
auto *evt = dynamic_cast<QMouseEvent *>(event);
if (this->moving_)
{
auto newPos = evt->globalPos() - this->moveOrigin_;
auto newPos =
(evt->globalPosition() - this->moveOrigin_).toPoint();
this->move(newPos + this->pos());
this->moveOrigin_ = evt->globalPos();
this->moveOrigin_ = evt->globalPosition().toPoint();
return true;
}
if (this->interaction_.isInteracting())