Differential D13434 Diff 36441 net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_twidget.cpp
Changeset View
Changeset View
Standalone View
Standalone View
net-im/telegram-desktop/files/patch-Telegram_SourceFiles_ui_twidget.cpp
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- Telegram/SourceFiles/ui/twidget.cpp.orig 2017-09-05 17:38:38 UTC | |||||
+++ Telegram/SourceFiles/ui/twidget.cpp | |||||
@@ -191,9 +191,9 @@ void sendSynteticMouseEvent(QWidget *wid | |||||
, button | |||||
, QGuiApplication::mouseButtons() | button | |||||
, QGuiApplication::keyboardModifiers() | |||||
-#ifndef OS_MAC_OLD | |||||
+#if !defined(OS_MAC_OLD) && QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) | |||||
, Qt::MouseEventSynthesizedByApplication | |||||
-#endif // OS_MAC_OLD | |||||
+#endif | |||||
); | |||||
ev.setTimestamp(getms()); | |||||
QGuiApplication::sendEvent(windowHandle, &ev); |