1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-10 01:17:59 +03:00

merged 3.6 changes

This commit is contained in:
Adolfo Gómez García 2023-05-23 03:17:52 +02:00
parent f099870c60
commit 64f4f82540
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -53,7 +53,7 @@ class UdsApplication(QtWidgets.QApplication): # type: ignore
tunnel.kill() tunnel.kill()
def event(self, evnt: QtCore.QEvent) -> bool: 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) fe = typing.cast(QtGui.QFileOpenEvent, evnt)
logger.debug('Got url: %s', fe.url().url()) logger.debug('Got url: %s', fe.url().url())
fe.accept() fe.accept()