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:
parent
f099870c60
commit
64f4f82540
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user