From 95a65096c468193bcc8a731fd5f8fdcd0523fd47 Mon Sep 17 00:00:00 2001 From: pgScorpio Date: Sat, 26 Mar 2022 20:27:58 +0100 Subject: [PATCH] Connection status issue jamulussoftware#2519 second stage Moved Connect/Disconnect code from CClientdlg to CClient. Now using the proper connected checks in several places. Added bDisconnectAndDisable to CChannel. (For a Client now Channel.Disconnect() will block audio data and auto disable the channel on disconnected) --- src/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5057c2a067..e4f821ec93 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -920,9 +920,6 @@ int main ( int argc, char** argv ) // initialise message boxes CMsgBoxes::init ( &ClientDlg, strClientName.isEmpty() ? QString ( APP_NAME ) : QString ( APP_NAME ) + " " + strClientName ); - // initialise message boxes - CMsgBoxes::init ( &ClientDlg, strClientName.isEmpty() ? QString ( APP_NAME ) : QString ( APP_NAME ) + " " + strClientName ); - // show dialog ClientDlg.show();