diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-12-08 21:25:46 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-12-08 21:25:46 +0100 |
commit | 9ba812485a78c9ec666b5d5d95538c978c3ce4a0 (patch) | |
tree | b830410aad9b9419285aa19f93bafeb2e600dd53 | |
parent | Merge pull request #7544 from Morph1984/r16g16 (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/yuzu/debugger/profiler.cpp | 2 |
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(); |