From 60d750f7998ad3317168b8add350dd1733615451 Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 8 Nov 2010 17:54:50 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/QuickStartWizard.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/QuickStartWizard.cpp b/retroshare-gui/src/gui/QuickStartWizard.cpp index ed548fdd4..12db6cfa2 100644 --- a/retroshare-gui/src/gui/QuickStartWizard.cpp +++ b/retroshare-gui/src/gui/QuickStartWizard.cpp @@ -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;