From 5ad96f528792a0a73737690fea53c29fd2f4bd44 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 2 Sep 2018 18:34:10 -0400 Subject: [PATCH] Display a dialog when the connection is terminated by the remote PC --- app/streaming/session.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 6c9a9fbd..8eb92a91 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -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);