1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +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()
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()