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