Bugfix: Fix various places where Bitcoin-Qt was being shutdown improperly

(Partial/merge of upstream 9247134eab, 1a3f0da922, and 3e34352222)
This commit is contained in:
Philip Kaufmann
2012-06-14 17:53:59 +00:00
committed by Luke Dashjr
parent 0b1fda6f65
commit 276cfd8530
9 changed files with 26 additions and 15 deletions
+5
View File
@@ -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.
*/