git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bugfix: Fix various places where Bitcoin-Qt was being shutdown improperly
[novacoin.git]
/
src
/
qt
/
bitcoin.cpp
diff --git
a/src/qt/bitcoin.cpp
b/src/qt/bitcoin.cpp
index
8dde8f3
..
6986d39
100644
(file)
--- a/
src/qt/bitcoin.cpp
+++ b/
src/qt/bitcoin.cpp
@@
-112,6
+112,11
@@
void InitMessage(const std::string &message)
}
}
+void QueueShutdown()
+{
+ QMetaObject::invokeMethod(QCoreApplication::instance(), "quit", Qt::QueuedConnection);
+}
+
/*
Translate string to current locale using Qt.
*/