commit ad15c6a80e619d418c10b50d3fa8f3b583f8eecf
parent 106384736980e5d81da638f3c135469957a716fb
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 30 Aug 2017 11:46:58 +0200
Merge pull request #2820 from benma/qt_threading
fix Qt threading issue
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py
@@ -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