diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-03-25 20:17:59 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-04-04 09:35:01 +0200 |
| commit | 1a3f0da9229a8e524d1010cdc8bd3b9da71fe529 (patch) | |
| tree | ea477d499012b9bbf16402284260c95b43e2cb1f /src/qt/bitcoin.cpp | |
| parent | move translation function _ to qtui.h/noui.h instead of util.h (diff) | |
| download | discoin-1a3f0da9229a8e524d1010cdc8bd3b9da71fe529.tar.xz discoin-1a3f0da9229a8e524d1010cdc8bd3b9da71fe529.zip | |
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 e91855bec..f566476e6 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. */ |