summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-12-08 21:25:46 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-12-08 21:25:46 +0100
commit9ba812485a78c9ec666b5d5d95538c978c3ce4a0 (patch)
treeb830410aad9b9419285aa19f93bafeb2e600dd53 /src
parentMerge pull request #7544 from Morph1984/r16g16 (diff)
downloadyuzu-9ba812485a78c9ec666b5d5d95538c978c3ce4a0.tar
yuzu-9ba812485a78c9ec666b5d5d95538c978c3ce4a0.tar.gz
yuzu-9ba812485a78c9ec666b5d5d95538c978c3ce4a0.tar.bz2
yuzu-9ba812485a78c9ec666b5d5d95538c978c3ce4a0.tar.lz
yuzu-9ba812485a78c9ec666b5d5d95538c978c3ce4a0.tar.xz
yuzu-9ba812485a78c9ec666b5d5d95538c978c3ce4a0.tar.zst
yuzu-9ba812485a78c9ec666b5d5d95538c978c3ce4a0.zip
Diffstat (limited to 'src')
-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 a8b254199..33110685a 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->pos();
+ const auto wheel_position = ev->position().toPoint();
MicroProfileMousePosition(wheel_position.x() / x_scale, wheel_position.y() / y_scale,
ev->angleDelta().y() / 120);
ev->accept();