add type hint to GuiCommon app argument

This commit is contained in:
deeplow 2022-07-21 11:52:58 +01:00
parent 4aab47af38
commit 78daf75638
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -27,7 +27,9 @@ class GuiCommon(object):
The GuiCommon class is a singleton of shared functionality for the GUI 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 # Qt app
self.app = app self.app = app