small fixes

This commit is contained in:
Volker Fischer 2019-04-12 18:55:43 +02:00
parent a6a10d537e
commit b1874d193f
4 changed files with 1 additions and 9 deletions

View file

@ -1200,8 +1200,3 @@ rbtReverbSelR->setStyleSheet ( "" );
// also apply GUI design to child GUI controls // also apply GUI design to child GUI controls
MainMixerBoard->SetGUIDesign ( eNewDesign ); MainMixerBoard->SetGUIDesign ( eNewDesign );
} }
void CClientDlg::accept()
{
close();
}

View file

@ -206,7 +206,7 @@ public slots:
void OnNumClientsChanged ( int iNewNumClients ); void OnNumClientsChanged ( int iNewNumClients );
void OnNewClientLevelChanged() { MainMixerBoard->iNewClientFaderLevel = pClient->iNewClientFaderLevel; } void OnNewClientLevelChanged() { MainMixerBoard->iNewClientFaderLevel = pClient->iNewClientFaderLevel; }
void accept(); void accept() { close(); } // introduced by pljones
void keyPressEvent ( QKeyEvent *e ) // block escape key void keyPressEvent ( QKeyEvent *e ) // block escape key
{ if ( e->key() != Qt::Key_Escape ) QDialog::keyPressEvent ( e ); } { if ( e->key() != Qt::Key_Escape ) QDialog::keyPressEvent ( e ); }

View file

@ -40,7 +40,6 @@
#include "util.h" #include "util.h"
#include "serverlogging.h" #include "serverlogging.h"
#include "serverlist.h" #include "serverlist.h"
#include "recorder/jamrecorder.h" #include "recorder/jamrecorder.h"

View file

@ -346,7 +346,6 @@ void CServerLogging::AddNewConnection ( const QHostAddress& ClientInetAddr )
QTextStream tsConsoleStream ( stdout ); QTextStream tsConsoleStream ( stdout );
tsConsoleStream << strLogStr << endl; // on console tsConsoleStream << strLogStr << endl; // on console
#endif #endif
*this << strLogStr; // in log file *this << strLogStr; // in log file
// add element to history // add element to history
@ -362,7 +361,6 @@ void CServerLogging::AddServerStopped()
QTextStream tsConsoleStream ( stdout ); QTextStream tsConsoleStream ( stdout );
tsConsoleStream << strLogStr << endl; // on console tsConsoleStream << strLogStr << endl; // on console
#endif #endif
*this << strLogStr; // in log file *this << strLogStr; // in log file
// add element to history and update on server stop // add element to history and update on server stop