forget to add the changes for the nextbutton in QuickStartWizard, to get work properly the Discovery changes.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3763 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-11-08 17:54:50 +00:00
parent 4c43c471ec
commit 60d750f799

View File

@ -120,9 +120,20 @@ void QuickStartWizard::on_pushButtonConnectionNext_clicked()
/* Check if vis has changed */
uint32_t visState = 0;
if (0 == ui.discoveryComboBox->currentIndex())
switch(ui.discoveryComboBox->currentIndex())
{
case 0:
visState |= (RS_VS_DISC_ON | RS_VS_DHT_ON);
break;
case 1:
visState |= RS_VS_DISC_ON;
break;
case 2:
visState |= RS_VS_DHT_ON;
break;
case 3:
default:
break;
}
RsPeerDetails detail;