mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-18 22:13:53 +00:00
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)
|
||||
{
|
||||
emit s_ActiveSession->displayLaunchError("Connection terminated");
|
||||
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Connection terminated: %ld",
|
||||
errorCode);
|
||||
|
|
Loading…
Reference in a new issue