Display a dialog when the connection is terminated by the remote PC
This commit is contained in:
parent
fa8845c7e2
commit
5ad96f5287
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ void Session::clStageFailed(int stage, long errorCode)
|
||||||
|
|
||||||
void Session::clConnectionTerminated(long errorCode)
|
void Session::clConnectionTerminated(long errorCode)
|
||||||
{
|
{
|
||||||
|
emit s_ActiveSession->displayLaunchError("Connection terminated");
|
||||||
|
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"Connection terminated: %ld",
|
"Connection terminated: %ld",
|
||||||
errorCode);
|
errorCode);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue