diff --git a/Telegram/SourceFiles/window/window_main_menu.cpp b/Telegram/SourceFiles/window/window_main_menu.cpp index d035668295..f61b217a24 100644 --- a/Telegram/SourceFiles/window/window_main_menu.cpp +++ b/Telegram/SourceFiles/window/window_main_menu.cpp @@ -907,9 +907,7 @@ bool MainMenu::eventHook(QEvent *event) { || type == QEvent::TouchUpdate || type == QEvent::TouchEnd || type == QEvent::TouchCancel) { - QTouchEvent ev = *static_cast(event); - ev.setTimestamp(crl::now()); - QGuiApplication::sendEvent(_inner, &ev); + QGuiApplication::sendEvent(_inner, event); } return RpWidget::eventHook(event); }