mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed build on Qt6.
This commit is contained in:
parent
acd40cbeb6
commit
b20e2c37c1
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue