Merge pull request #8318 from Docteh/cmake-qt56-entry

Update some files with Qt 5.15.2 best practices in mind
This commit is contained in:
Mai M 2022-06-10 23:09:49 -04:00 committed by GitHub
commit 05ff801f8c
10 changed files with 25 additions and 35 deletions

View file

@ -752,7 +752,7 @@ void GRenderWindow::mouseMoveEvent(QMouseEvent* event) {
input_subsystem->GetMouse()->MouseMove(x, y, touch_x, touch_y, center_x, center_y);
if (Settings::values.mouse_panning && !Settings::values.mouse_enabled) {
QCursor::setPos(mapToGlobal({center_x, center_y}));
QCursor::setPos(mapToGlobal(QPoint{center_x, center_y}));
}
emit MouseActivity();