From 78daf756382a6234b0f29527d01143f79647ea0f Mon Sep 17 00:00:00 2001 From: deeplow Date: Thu, 21 Jul 2022 11:52:58 +0100 Subject: [PATCH] add type hint to GuiCommon app argument --- dangerzone/gui/common.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dangerzone/gui/common.py b/dangerzone/gui/common.py index 358f939..8d043ea 100644 --- a/dangerzone/gui/common.py +++ b/dangerzone/gui/common.py @@ -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