Don't leave frontend in engine waiting state when there's error occured on attempt to start engine
authorunc0rr
Thu, 23 Aug 2012 23:21:31 +0400
changeset 7587 688076d61b83
parent 7585 9158f06ffb44
child 7589 63d937a764e2
Don't leave frontend in engine waiting state when there's error occured on attempt to start engine
QTfrontend/net/tcpBase.cpp
--- a/QTfrontend/net/tcpBase.cpp	Thu Aug 23 23:18:06 2012 +0400
+++ b/QTfrontend/net/tcpBase.cpp	Thu Aug 23 23:21:31 2012 +0400
@@ -107,6 +107,8 @@
     QMessageBox::critical(0, tr("Error"),
                           tr("Unable to run engine: %1 (")
                           .arg(error) + bindir->absolutePath() + "/hwengine)");
+
+    ClientDisconnect();
 }
 
 void TCPBase::tcpServerReady()