QTfrontend/net/tcpBase.cpp
branch0.9.23
changeset 12874 7caa4ec513bd
parent 12824 c75781937859
child 13208 fcffacc6ee8f
equal deleted inserted replaced
12864:73ebc894a725 12874:7caa4ec513bd
   226 
   226 
   227 void TCPBase::onEngineDeath(int exitCode, QProcess::ExitStatus exitStatus)
   227 void TCPBase::onEngineDeath(int exitCode, QProcess::ExitStatus exitStatus)
   228 {
   228 {
   229     Q_UNUSED(exitStatus);
   229     Q_UNUSED(exitStatus);
   230 
   230 
   231     if(!m_connected)
   231     if(m_connected)
   232       ClientDisconnect();
   232       ClientDisconnect();
   233 
   233 
   234     // show error message if there was an error that was not an engine's
   234     // show error message if there was an error that was not an engine's
   235     // fatal error - because that one already sent a info via IPC
   235     // fatal error - because that one already sent a info via IPC
   236     if ((exitCode != 0) && (exitCode != 2))
   236     if ((exitCode != 0) && (exitCode != 2))