diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-07-14 10:46:06 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-14 10:49:12 +0200 |
| commit | 49d57125f953e3e909e5c61d42d66013df8d325e (patch) | |
| tree | 3632a54168d5bf4e6f43e7dbc3d46580d6591c80 /src/init.cpp | |
| parent | Merge pull request #4378 (diff) | |
| download | discoin-49d57125f953e3e909e5c61d42d66013df8d325e.tar.xz discoin-49d57125f953e3e909e5c61d42d66013df8d325e.zip | |
qt: Ignore showNormalIfMinimized in initialization or shutdown
Also get rid of ui_interface flag NOSHOWGUI. It's up to the GUI to
decide this.
Fixes #4360.
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 9daad6ac8..99df237b2 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -179,13 +179,13 @@ void HandleSIGHUP(int) bool static InitError(const std::string &str) { - uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_ERROR | CClientUIInterface::NOSHOWGUI); + uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_ERROR); return false; } bool static InitWarning(const std::string &str) { - uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_WARNING | CClientUIInterface::NOSHOWGUI); + uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_WARNING); return true; } |