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:
parent
5b2d256bc2
commit
e85b0f93ed
3 changed files with 0 additions and 30 deletions
|
@ -29,7 +29,6 @@
|
|||
CClientDlg::CClientDlg ( CClient* pNCliP,
|
||||
CSettings* pNSetP,
|
||||
const bool bNewConnectOnStartup,
|
||||
const bool bNewDisalbeLEDs,
|
||||
const bool bNewShowComplRegConnList,
|
||||
const bool bShowAnalyzerConsole,
|
||||
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:
|
||||
// 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
|
||||
|
|
|
@ -72,7 +72,6 @@ public:
|
|||
CClientDlg ( CClient* pNCliP,
|
||||
CSettings* pNSetP,
|
||||
const bool bNewConnectOnStartup,
|
||||
const bool bNewDisalbeLEDs,
|
||||
const bool bNewShowComplRegConnList,
|
||||
const bool bShowAnalyzerConsole,
|
||||
QWidget* parent = 0,
|
||||
|
|
15
src/main.cpp
15
src/main.cpp
|
@ -57,7 +57,6 @@ int main ( int argc, char** argv )
|
|||
bool bUseGUI = true;
|
||||
bool bStartMinimized = false;
|
||||
bool bConnectOnStartup = false;
|
||||
bool bDisalbeLEDs = false;
|
||||
bool bShowComplRegConnList = false;
|
||||
bool bShowAnalyzerConsole = 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 -----------------------------
|
||||
if ( GetFlagArgument ( argv,
|
||||
i,
|
||||
|
@ -406,7 +393,6 @@ int main ( int argc, char** argv )
|
|||
CClientDlg ClientDlg ( &Client,
|
||||
&Settings,
|
||||
bConnectOnStartup,
|
||||
bDisalbeLEDs,
|
||||
bShowComplRegConnList,
|
||||
bShowAnalyzerConsole,
|
||||
0,
|
||||
|
@ -515,7 +501,6 @@ QString UsageArguments ( char **argv )
|
|||
" only)\n"
|
||||
" -c, --connect connect to last server on startup (client\n"
|
||||
" only)\n"
|
||||
" -d, --disableleds disable LEDs in main window (client only)\n"
|
||||
" -e, --centralserver address of the central server (server only)\n"
|
||||
" -g, --pingservers ping servers in list to keep NAT port open\n"
|
||||
" (central server only)\n"
|
||||
|
|
Loading…
Reference in a new issue