summaryrefslogtreecommitdiffstats
path: root/src/yuzu/debugger/profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu/debugger/profiler.cpp')
-rw-r--r--src/yuzu/debugger/profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cpp
index 33110685a..a8b254199 100644
--- a/src/yuzu/debugger/profiler.cpp
+++ b/src/yuzu/debugger/profiler.cpp
@@ -163,7 +163,7 @@ void MicroProfileWidget::mouseReleaseEvent(QMouseEvent* ev) {
}
void MicroProfileWidget::wheelEvent(QWheelEvent* ev) {
- const auto wheel_position = ev->position().toPoint();
+ const auto wheel_position = ev->pos();
MicroProfileMousePosition(wheel_position.x() / x_scale, wheel_position.y() / y_scale,
ev->angleDelta().y() / 120);
ev->accept();