diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-12-23 09:52:55 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-12-23 09:53:30 +0100 |
| commit | 362755d01817891defcbae696d34f0ff8266a1d0 (patch) | |
| tree | e8af54f2d8a7cbc93d33ca29ef56689a58113411 /src/init.cpp | |
| parent | Merge pull request #3451 (diff) | |
| parent | qt: Prevent non-functional GUI from popping up during Init (diff) | |
| download | discoin-362755d01817891defcbae696d34f0ff8266a1d0.tar.xz discoin-362755d01817891defcbae696d34f0ff8266a1d0.zip | |
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 b5d784dc5..6b100ce14 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; } |