diff --git a/electrum/gui/qml/qeapp.py b/electrum/gui/qml/qeapp.py index f63270043..3dbbc36ea 100644 --- a/electrum/gui/qml/qeapp.py +++ b/electrum/gui/qml/qeapp.py @@ -6,7 +6,7 @@ import sys import html import threading import asyncio -from typing import TYPE_CHECKING +from typing import TYPE_CHECKING, Set from PyQt5.QtCore import (pyqtSlot, pyqtSignal, pyqtProperty, QObject, QUrl, QLocale, qInstallMessageHandler, QTimer, QSortFilterProxyModel) @@ -58,12 +58,13 @@ class QEAppController(BaseCrashReporter, QObject): sendingBugreportSuccess = pyqtSignal(str) sendingBugreportFailure = pyqtSignal(str) - def __init__(self, qedaemon, plugins): + def __init__(self, qedaemon: 'QEDaemon', plugins: 'Plugins'): BaseCrashReporter.__init__(self, None, None, None) QObject.__init__(self) self._qedaemon = qedaemon self._plugins = plugins + self.config = qedaemon.daemon.config self._crash_user_text = '' self._app_started = False