diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-23 09:52:55 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-23 09:53:30 +0100 |
commit | 362755d01817891defcbae696d34f0ff8266a1d0 (patch) | |
tree | e8af54f2d8a7cbc93d33ca29ef56689a58113411 /src/init.cpp | |
parent | f46babc8c8271b1f25d35ae3c2f5257ae9159336 (diff) | |
parent | 1ad26362c92c7d5678c24df85fd7b9ab1d3d34fe (diff) |
Merge pull request #3427
1ad2636 qt: Prevent non-functional GUI from popping up during Init (Wladimir J. van der Laan)
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index b5d784dc58..6b100ce148 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -164,13 +164,13 @@ void HandleSIGHUP(int) bool static InitError(const std::string &str) { - uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_ERROR); + uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_ERROR | CClientUIInterface::NOSHOWGUI); return false; } bool static InitWarning(const std::string &str) { - uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_WARNING); + uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_WARNING | CClientUIInterface::NOSHOWGUI); return true; } |