support RPC stop and encryptwallet with UI

This commit is contained in:
Wladimir J. van der Laan
2012-03-25 20:17:59 +02:00
parent 5d7cebdadc
commit 1a3f0da922
5 changed files with 17 additions and 15 deletions

View File

@@ -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.
*/