From 433fc30623cd7eb994be07d705ee875286ed9ee9 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 27 Aug 2009 06:48:31 +0000 Subject: [PATCH] new version number, fix for disconnect on shutdown --- ChangeLog | 3 +++ configure.in | 2 +- src/global.h | 2 +- src/llconclientdlg.cpp | 15 ++++++--------- src/llconclientdlg.h | 1 - 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f73df40..c8ec738e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ - in case "Open Chat on New Message" is not enabled, a hint in the status bar is shown when a message is received +- use low complexity CELT encoder profile, this lowers audio dropout + probability on slow computers + 3.0.0 - introduced new audio codec "CELT", not compatible to old versions diff --git a/configure.in b/configure.in index 41b2e07f..b40114bc 100755 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.50) AC_INIT(src/main.cpp) -AM_INIT_AUTOMAKE(llcon,3.0.1cvs) +AM_INIT_AUTOMAKE(llcon,3.0.2cvs) AM_CONFIG_HEADER(config.h) diff --git a/src/global.h b/src/global.h index 5cc44b4c..9cd1836f 100755 --- a/src/global.h +++ b/src/global.h @@ -43,7 +43,7 @@ // version and application name (always use this version) #undef VERSION -#define VERSION "3.0.1cvs" +#define VERSION "3.0.2cvs" #define APP_NAME "llcon" // file name for logging file diff --git a/src/llconclientdlg.cpp b/src/llconclientdlg.cpp index 6c4b4cb6..2e149f95 100755 --- a/src/llconclientdlg.cpp +++ b/src/llconclientdlg.cpp @@ -255,21 +255,18 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, TimerStatus.start ( STATUSBAR_UPDATE_TIME ); } -CLlconClientDlg::~CLlconClientDlg() -{ - // if connected, terminate connection - if ( pClient->IsRunning() ) - { - pClient->Stop(); - } -} - void CLlconClientDlg::closeEvent ( QCloseEvent * Event ) { // if settings dialog or chat dialog is open, close it ClientSettingsDlg.close(); ChatDlg.close(); + // if connected, terminate connection + if ( pClient->IsRunning() ) + { + pClient->Stop(); + } + // store IP addresses for ( int iLEIdx = 0; iLEIdx < LineEditServerAddr->count(); iLEIdx++ ) { diff --git a/src/llconclientdlg.h b/src/llconclientdlg.h index a1b095be..2f82334e 100755 --- a/src/llconclientdlg.h +++ b/src/llconclientdlg.h @@ -69,7 +69,6 @@ public: CLlconClientDlg ( CClient* pNCliP, const bool bNewConnectOnStartup, const bool bNewDisalbeLEDs, QWidget* parent = 0, Qt::WindowFlags f = 0 ); - virtual ~CLlconClientDlg(); protected: void ShowChatWindow();