new version number, fix for disconnect on shutdown

This commit is contained in:
Volker Fischer 2009-08-27 06:48:31 +00:00
parent 8527f2bd01
commit 433fc30623
5 changed files with 11 additions and 12 deletions

View file

@ -6,6 +6,9 @@
- in case "Open Chat on New Message" is not enabled, a hint in the status bar - in case "Open Chat on New Message" is not enabled, a hint in the status bar
is shown when a message is received is shown when a message is received
- use low complexity CELT encoder profile, this lowers audio dropout
probability on slow computers
3.0.0 3.0.0
- introduced new audio codec "CELT", not compatible to old versions - introduced new audio codec "CELT", not compatible to old versions

View file

@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50) AC_PREREQ(2.50)
AC_INIT(src/main.cpp) AC_INIT(src/main.cpp)
AM_INIT_AUTOMAKE(llcon,3.0.1cvs) AM_INIT_AUTOMAKE(llcon,3.0.2cvs)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)

View file

@ -43,7 +43,7 @@
// version and application name (always use this version) // version and application name (always use this version)
#undef VERSION #undef VERSION
#define VERSION "3.0.1cvs" #define VERSION "3.0.2cvs"
#define APP_NAME "llcon" #define APP_NAME "llcon"
// file name for logging file // file name for logging file

View file

@ -255,21 +255,18 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP,
TimerStatus.start ( STATUSBAR_UPDATE_TIME ); TimerStatus.start ( STATUSBAR_UPDATE_TIME );
} }
CLlconClientDlg::~CLlconClientDlg()
{
// if connected, terminate connection
if ( pClient->IsRunning() )
{
pClient->Stop();
}
}
void CLlconClientDlg::closeEvent ( QCloseEvent * Event ) void CLlconClientDlg::closeEvent ( QCloseEvent * Event )
{ {
// if settings dialog or chat dialog is open, close it // if settings dialog or chat dialog is open, close it
ClientSettingsDlg.close(); ClientSettingsDlg.close();
ChatDlg.close(); ChatDlg.close();
// if connected, terminate connection
if ( pClient->IsRunning() )
{
pClient->Stop();
}
// store IP addresses // store IP addresses
for ( int iLEIdx = 0; iLEIdx < LineEditServerAddr->count(); iLEIdx++ ) for ( int iLEIdx = 0; iLEIdx < LineEditServerAddr->count(); iLEIdx++ )
{ {

View file

@ -69,7 +69,6 @@ public:
CLlconClientDlg ( CClient* pNCliP, const bool bNewConnectOnStartup, CLlconClientDlg ( CClient* pNCliP, const bool bNewConnectOnStartup,
const bool bNewDisalbeLEDs, const bool bNewDisalbeLEDs,
QWidget* parent = 0, Qt::WindowFlags f = 0 ); QWidget* parent = 0, Qt::WindowFlags f = 0 );
virtual ~CLlconClientDlg();
protected: protected:
void ShowChatWindow(); void ShowChatWindow();