diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-03-25 20:17:59 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-04 09:35:01 +0200 |
commit | 1a3f0da9229a8e524d1010cdc8bd3b9da71fe529 (patch) | |
tree | ea477d499012b9bbf16402284260c95b43e2cb1f /src/qt/bitcoin.cpp | |
parent | 5d7cebdadc991a23195a3519c1e9c038cb4f2290 (diff) | |
download | bitcoin-1a3f0da9229a8e524d1010cdc8bd3b9da71fe529.tar.xz |
support RPC stop and encryptwallet with UI
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index e91855bec4..f566476e66 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -111,6 +111,11 @@ void InitMessage(const std::string &message) } } +void QueueShutdown() +{ + QMetaObject::invokeMethod(QCoreApplication::instance(), "quit", Qt::QueuedConnection); +} + /* Translate string to current locale using Qt. */ |