diff options
Diffstat (limited to 'src/yuzu/debugger/profiler.cpp')
-rw-r--r-- | src/yuzu/debugger/profiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cpp index 7a6f84d96..778c25a9f 100644 --- a/src/yuzu/debugger/profiler.cpp +++ b/src/yuzu/debugger/profiler.cpp @@ -160,8 +160,8 @@ void MicroProfileWidget::mouseReleaseEvent(QMouseEvent* ev) { } void MicroProfileWidget::wheelEvent(QWheelEvent* ev) { - MicroProfileMousePosition(ev->pos().x() / x_scale, ev->pos().y() / y_scale, - ev->angleDelta().y() / 120); + MicroProfileMousePosition(ev->position().toPoint().x() / x_scale, + ev->position().toPoint().y() / y_scale, ev->angleDelta().y() / 120); ev->accept(); } |