VERY experimental Nintendo Switch 2 emulator
C++
profiler: Use QWheelEvent position().toPoint()
Morph006965d3c0e8
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cppindex a8b2541999..33110685ab 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();