Fix circular import

Was indicative of something that needs to be refactored, but this
change resolves the ImportError
This commit is contained in:
Guthrie McAfee Armstrong 2022-06-04 15:31:19 -04:00
parent fc8d2af23b
commit 16dfa477b4
No known key found for this signature in database
GPG key ID: ED4DAE89F08242D2

View file

@ -1,12 +1,12 @@
from PySide6 import QtWidgets
from dangerzone.global_common import GlobalCommon
from dangerzone.gui import Application, GuiCommon
from dangerzone.gui import GuiCommon
class SysTray(QtWidgets.QSystemTrayIcon):
def __init__(
self, global_common: GlobalCommon, gui_common: GuiCommon, app: Application
self, global_common: GlobalCommon, gui_common: GuiCommon, app
):
super(SysTray, self).__init__()
self.global_common = global_common