remove "--disableleds" command line argument since disabling LEDs is not required anymore because we now have a separate socket thread and therefore a stable audio connection even in case the LEDs are used

This commit is contained in:
Volker Fischer 2014-02-25 14:58:54 +00:00
parent 5b2d256bc2
commit e85b0f93ed
3 changed files with 0 additions and 30 deletions

View File

@ -29,7 +29,6 @@
CClientDlg::CClientDlg ( CClient* pNCliP, CClientDlg::CClientDlg ( CClient* pNCliP,
CSettings* pNSetP, CSettings* pNSetP,
const bool bNewConnectOnStartup, const bool bNewConnectOnStartup,
const bool bNewDisalbeLEDs,
const bool bNewShowComplRegConnList, const bool bNewShowComplRegConnList,
const bool bShowAnalyzerConsole, const bool bShowAnalyzerConsole,
QWidget* parent, QWidget* parent,
@ -284,19 +283,6 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
} }
// Disable controls on request ---------------------------------------------
// disable LEDs in main window if requested
if ( bNewDisalbeLEDs )
{
lbrInputLevelL->setEnabled ( false );
lbrInputLevelR->setEnabled ( false );
ledConnection->setEnabled ( false );
ledBuffers->setEnabled ( false );
ledDelay->setEnabled ( false );
butConnect->setFocus();
}
// Mac Workaround: // Mac Workaround:
// If the connect button is the default button, on Mac it is highlighted // If the connect button is the default button, on Mac it is highlighted
// by fading in and out a blue backgroud color. This operation consumes so // by fading in and out a blue backgroud color. This operation consumes so

View File

@ -72,7 +72,6 @@ public:
CClientDlg ( CClient* pNCliP, CClientDlg ( CClient* pNCliP,
CSettings* pNSetP, CSettings* pNSetP,
const bool bNewConnectOnStartup, const bool bNewConnectOnStartup,
const bool bNewDisalbeLEDs,
const bool bNewShowComplRegConnList, const bool bNewShowComplRegConnList,
const bool bShowAnalyzerConsole, const bool bShowAnalyzerConsole,
QWidget* parent = 0, QWidget* parent = 0,

View File

@ -57,7 +57,6 @@ int main ( int argc, char** argv )
bool bUseGUI = true; bool bUseGUI = true;
bool bStartMinimized = false; bool bStartMinimized = false;
bool bConnectOnStartup = false; bool bConnectOnStartup = false;
bool bDisalbeLEDs = false;
bool bShowComplRegConnList = false; bool bShowComplRegConnList = false;
bool bShowAnalyzerConsole = false; bool bShowAnalyzerConsole = false;
bool bCentServPingServerInList = false; bool bCentServPingServerInList = false;
@ -134,18 +133,6 @@ int main ( int argc, char** argv )
} }
// Disable LEDs flag ---------------------------------------------------
if ( GetFlagArgument ( argv,
i,
"-d",
"--disableleds" ) )
{
bDisalbeLEDs = true;
tsConsole << "- disable LEDs in main window" << endl;
continue;
}
// Ping servers in list for central server ----------------------------- // Ping servers in list for central server -----------------------------
if ( GetFlagArgument ( argv, if ( GetFlagArgument ( argv,
i, i,
@ -406,7 +393,6 @@ int main ( int argc, char** argv )
CClientDlg ClientDlg ( &Client, CClientDlg ClientDlg ( &Client,
&Settings, &Settings,
bConnectOnStartup, bConnectOnStartup,
bDisalbeLEDs,
bShowComplRegConnList, bShowComplRegConnList,
bShowAnalyzerConsole, bShowAnalyzerConsole,
0, 0,
@ -515,7 +501,6 @@ QString UsageArguments ( char **argv )
" only)\n" " only)\n"
" -c, --connect connect to last server on startup (client\n" " -c, --connect connect to last server on startup (client\n"
" only)\n" " only)\n"
" -d, --disableleds disable LEDs in main window (client only)\n"
" -e, --centralserver address of the central server (server only)\n" " -e, --centralserver address of the central server (server only)\n"
" -g, --pingservers ping servers in list to keep NAT port open\n" " -g, --pingservers ping servers in list to keep NAT port open\n"
" (central server only)\n" " (central server only)\n"