Merge pull request #2820 from benma/qt_threading

fix Qt threading issue
This commit is contained in:
ThomasV 2017-08-30 11:46:58 +02:00 committed by GitHub
commit ad15c6a80e
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ class ElectrumGui:
# GC-ed when windows are closed
#network.add_jobs([DebugMem([Abstract_Wallet, SPV, Synchronizer,
# ElectrumWindow], interval=5)])
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_X11InitThreads)
self.config = config
self.daemon = daemon
self.plugins = plugins