mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 13:45:39 +01:00
Merge pull request #7545 from Morph1984/qt-deprecated-warn
profiler: Use QWheelEvent position().toPoint()
This commit is contained in:
commit
25298d1c02
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user