From 64f4f8254032e30c1925f0197a932fb703cfe2f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= <dkmaster@dkmon.com> Date: Tue, 23 May 2023 03:17:52 +0200 Subject: [PATCH] merged 3.6 changes --- client-py3/full/src/UDSClientLauncher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-py3/full/src/UDSClientLauncher.py b/client-py3/full/src/UDSClientLauncher.py index dc73942cd..ccc5c6fe7 100644 --- a/client-py3/full/src/UDSClientLauncher.py +++ b/client-py3/full/src/UDSClientLauncher.py @@ -53,7 +53,7 @@ class UdsApplication(QtWidgets.QApplication): # type: ignore tunnel.kill() def event(self, evnt: QtCore.QEvent) -> bool: - if evnt.type() == QtCore.QEvent.FileOpen: # type: ignore + if evnt.type() == QtCore.QEvent.Type.FileOpen: fe = typing.cast(QtGui.QFileOpenEvent, evnt) logger.debug('Got url: %s', fe.url().url()) fe.accept()