mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-30 10:42:37 +02:00
Fix circular import
Was indicative of something that needs to be refactored, but this change resolves the ImportError
This commit is contained in:
parent
fc8d2af23b
commit
16dfa477b4
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
from PySide6 import QtWidgets
|
from PySide6 import QtWidgets
|
||||||
|
|
||||||
from dangerzone.global_common import GlobalCommon
|
from dangerzone.global_common import GlobalCommon
|
||||||
from dangerzone.gui import Application, GuiCommon
|
from dangerzone.gui import GuiCommon
|
||||||
|
|
||||||
|
|
||||||
class SysTray(QtWidgets.QSystemTrayIcon):
|
class SysTray(QtWidgets.QSystemTrayIcon):
|
||||||
def __init__(
|
def __init__(
|
||||||
self, global_common: GlobalCommon, gui_common: GuiCommon, app: Application
|
self, global_common: GlobalCommon, gui_common: GuiCommon, app
|
||||||
):
|
):
|
||||||
super(SysTray, self).__init__()
|
super(SysTray, self).__init__()
|
||||||
self.global_common = global_common
|
self.global_common = global_common
|
||||||
|
|
Loading…
Reference in a new issue