Fixed build on Qt6.

This commit is contained in:
23rd 2024-09-04 17:00:31 +03:00 committed by John Preston
parent acd40cbeb6
commit b20e2c37c1

View file

@ -230,7 +230,7 @@ void SetupSwipeHandler(
processEnd(); processEnd();
} else { } else {
updateWith({ updateWith({
.globalCursor = w->globalPos(), .globalCursor = w->globalPosition().toPoint(),
.position = QPointF(), .position = QPointF(),
.delta = state->delta - Ui::ScrollDelta(w), .delta = state->delta - Ui::ScrollDelta(w),
.touch = false, .touch = false,