OTHER: Fix crash on disconnected server.
Promoe now displays a message box, telling about what happened and terminates correctly after that
This commit is contained in:
parent
c0ca792481
commit
8221642227
4 changed files with 22 additions and 3 deletions
|
@ -137,7 +137,10 @@ try_again:
|
|||
}
|
||||
}
|
||||
|
||||
m_isconnected = true;
|
||||
// useing normal disconnect callback, if that causes problems,
|
||||
// an own method schould be created
|
||||
setDisconnectCallback (boost::bind (&XClient::disconnect, this));
|
||||
m_isconnected = true;
|
||||
emit gotConnection (this);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue