fix for #71 Increase "stability" of Connection Setup server list

This commit is contained in:
Volker Fischer 2020-04-06 23:06:28 +02:00
parent 0011f6686a
commit 70c499a82a
2 changed files with 9 additions and 6 deletions

View File

@ -16,8 +16,11 @@ TODO support OPUS 64 in the server as a first step towards official 64 samples f
TODO in CreateLevelsForAllConChannels we should call CStereoSignalLevelMeter::CalcLogResult instead -> make it public and static
TODO Multichannel CoreAudio Support #44 -> integrate important code lines in Mac sound interface
TODO offer the Jamulus ASIO settingspanel in case of an ASIO ERROR to fix, e.g., incorrect sample rate (https://sourceforge.net/p/llcon/discussion/533517/thread/777663cf94/#035f)
TODO client: larger sound card buffers are managed by conversion buffer, not in processintern for loop (note iSndCrdFrameSizeFactor!)
TODO #12 A server in the same NAT region as the client is not visible (https://sourceforge.net/p/llcon/bugs/12/)

View File

@ -332,6 +332,12 @@ strLocation += ", " + vecServerInfo[iIdx].HostAddr.InetAddr.toString() +
// store host address
pNewListViewItem->setData ( 0, Qt::UserRole, CurHostAddress.toString() );
// per default expand the list item (if not "show all servers")
if ( !bShowCompleteRegList )
{
lvwServers->expandItem ( pNewListViewItem );
}
}
// immediately issue the ping measurements and start the ping timer since
@ -413,12 +419,6 @@ void CConnectDlg::SetConnClientsList ( const CHostAddress& InetAddr,
// add the new child to the corresponding server item
pCurListViewItem->addChild ( pNewChildListViewItem );
// per default expand the list item (if not "show all servers")
if ( !bShowCompleteRegList )
{
lvwServers->expandItem ( pCurListViewItem );
}
// at least one server has childs now, show decoration to be able
// to show the childs
lvwServers->setRootIsDecorated ( true );