Ensure the Qt synthesize touch flag is off (although it should default to off as far as I can tell)

This commit is contained in:
Kovid Goyal 2017-07-29 17:44:40 +05:30
parent f487b22482
commit 8d79f568e1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -978,6 +978,7 @@ class Application(QApplication):
QApplication.setApplicationName(APP_UID)
QApplication.__init__(self, qargs)
self.setAttribute(Qt.AA_UseHighDpiPixmaps)
self.setAttribute(Qt.AA_SynthesizeTouchForUnhandledMouseEvents, False)
try:
base_dir()
except EnvironmentError as err: