From cbf54d0416bba5df675a183936edc9f9d0ad1383 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Sat, 19 Dec 2015 18:35:39 +0100 Subject: [PATCH] Handle unknown direct play error codes instead of an empty message refs #546 --- src/plugins/simulator/fs9/blacksimpluginfreefunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/simulator/fs9/blacksimpluginfreefunctions.cpp b/src/plugins/simulator/fs9/blacksimpluginfreefunctions.cpp index 2a461f37d..96ef0a7a3 100644 --- a/src/plugins/simulator/fs9/blacksimpluginfreefunctions.cpp +++ b/src/plugins/simulator/fs9/blacksimpluginfreefunctions.cpp @@ -199,6 +199,7 @@ namespace BlackSimPlugin errorMessage = "The client attempted to connect to a nonhost computer. Additionally, this error value may be returned by a nonhost that tried to set the application description."; break; default: + errorMessage = QString("Unknown error code %1").arg(error); break; }