mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-09 17:33:58 +02:00
Beta version 5.12.5: Fix build with Qt 6.
This commit is contained in:
parent
532258bea8
commit
af35beefc2
1 changed files with 1 additions and 3 deletions
|
@ -907,9 +907,7 @@ bool MainMenu::eventHook(QEvent *event) {
|
|||
|| type == QEvent::TouchUpdate
|
||||
|| type == QEvent::TouchEnd
|
||||
|| type == QEvent::TouchCancel) {
|
||||
QTouchEvent ev = *static_cast<QTouchEvent*>(event);
|
||||
ev.setTimestamp(crl::now());
|
||||
QGuiApplication::sendEvent(_inner, &ev);
|
||||
QGuiApplication::sendEvent(_inner, event);
|
||||
}
|
||||
return RpWidget::eventHook(event);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue