Display a dialog when the connection is terminated by the remote PC

This commit is contained in:
Cameron Gutman 2018-09-02 18:34:10 -04:00
parent fa8845c7e2
commit 5ad96f5287

View file

@ -85,6 +85,8 @@ void Session::clStageFailed(int stage, long errorCode)
void Session::clConnectionTerminated(long errorCode)
{
emit s_ActiveSession->displayLaunchError("Connection terminated");
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
"Connection terminated: %ld",
errorCode);