diff options
| author | Pieter Wuille <[email protected]> | 2016-06-24 16:35:21 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-24 16:45:12 +0200 |
| commit | 1acf1db76fc3e07deb8f0f837934ea90383fedb5 (patch) | |
| tree | d5988afeaba365f130400cea81e1f21027bc5622 /src/qt/bitcoingui.cpp | |
| parent | Merge #8204: Update petertodd's testnet seed (diff) | |
| download | discoin-1acf1db76fc3e07deb8f0f837934ea90383fedb5.tar.xz discoin-1acf1db76fc3e07deb8f0f837934ea90383fedb5.zip | |
Do not ask a UI question from bitcoind
Diffstat (limited to 'src/qt/bitcoingui.cpp')
| -rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 50c19c384..9042e3b56 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -1105,12 +1105,14 @@ void BitcoinGUI::subscribeToCoreSignals() { // Connect signals to client uiInterface.ThreadSafeMessageBox.connect(boost::bind(ThreadSafeMessageBox, this, _1, _2, _3)); + uiInterface.ThreadSafeQuestion.connect(boost::bind(ThreadSafeMessageBox, this, _1, _3, _4)); } void BitcoinGUI::unsubscribeFromCoreSignals() { // Disconnect signals from client uiInterface.ThreadSafeMessageBox.disconnect(boost::bind(ThreadSafeMessageBox, this, _1, _2, _3)); + uiInterface.ThreadSafeQuestion.disconnect(boost::bind(ThreadSafeMessageBox, this, _1, _3, _4)); } UnitDisplayStatusBarControl::UnitDisplayStatusBarControl(const PlatformStyle *platformStyle) : |