Skip to content

Commit

Permalink
Attempt to fix build with Qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
EdnY1 committed Jul 15, 2024
1 parent 26d3de7 commit 5a9f7ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QCefView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ QCefView::leaveEvent(QEvent* event)
QWidget::leaveEvent(event);

if (d_ptr->isOSRModeEnabled()) {
QPointF localPos{ -1, -1 };
QPointF globalPos = mapToGlobal(localPos);
QPoint localPos{ -1, -1 };
QPoint globalPos = mapToGlobal(localPos);

QMouseEvent moveEvent(QEvent::MouseMove, localPos, globalPos, Qt::NoButton, Qt::NoButton, Qt::NoModifier);
mouseMoveEvent(&moveEvent);
Expand Down

0 comments on commit 5a9f7ea

Please sign in to comment.