mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-30 10:42:37 +02:00
add type hint to GuiCommon app argument
This commit is contained in:
parent
4aab47af38
commit
78daf75638
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ class GuiCommon(object):
|
|||
The GuiCommon class is a singleton of shared functionality for the GUI
|
||||
"""
|
||||
|
||||
def __init__(self, app, global_common: GlobalCommon) -> None:
|
||||
def __init__(
|
||||
self, app: QtWidgets.QApplication, global_common: GlobalCommon
|
||||
) -> None:
|
||||
# Qt app
|
||||
self.app = app
|
||||
|
||||
|
|
Loading…
Reference in a new issue