QTfrontend/net/tcpBase.cpp
changeset 13505 d9f9e66543d7
parent 13213 fcffacc6ee8f
child 13517 4c5c8a83e298
--- a/QTfrontend/net/tcpBase.cpp	Tue Jul 17 19:44:29 2018 +0200
+++ b/QTfrontend/net/tcpBase.cpp	Tue Jul 17 20:13:41 2018 +0200
@@ -235,7 +235,7 @@
 
     // show error message if there was an error that was not an engine's
     // fatal error - because that one already sent a info via IPC
-    if ((exitCode != 0) && (exitCode != 2))
+    if ((exitCode != HWENGINE_EXITCODE_OK) && (exitCode != HWENGINE_EXITCODE_FATAL))
     {
         // inform user that something bad happened
         MessageDialog::ShowFatalMessage(