forked from shaba/openuds
minor fixes
This commit is contained in:
parent
ec7cf91579
commit
a3c27dbd72
@ -45,7 +45,7 @@ class UdsApplication(QtWidgets.QApplication):
|
|||||||
tunnel.kill()
|
tunnel.kill()
|
||||||
|
|
||||||
def event(self, evnt: QtCore.QEvent) -> bool:
|
def event(self, evnt: QtCore.QEvent) -> bool:
|
||||||
if evnt.type() == QtCore.QEvent.FileOpen:
|
if evnt.type() == QtCore.QEvent.FileOpen: # type: ignore
|
||||||
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