@@ -6099,52 +6099,57 @@ MainWindow::on_btn_WebBrowse_clicked(
60996099{
61006100 // Browse applications/modules button clicked
61016101 QString strURL = " " ;
6102- if (ui->combo_WebSelection ->currentIndex () == 0 )
6102+ if (ui->combo_WebSelection ->currentIndex () == WebSelectionBL654Applications )
61036103 {
61046104 // BL654 Github
61056105 strURL = " https://github.com/LairdCP/BL654-Applications" ;
61066106 }
6107- else if (ui->combo_WebSelection ->currentIndex () == 1 )
6107+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionBL653Applications)
6108+ {
6109+ // BL653 Github
6110+ strURL = " https://github.com/LairdCP/BL653-Applications" ;
6111+ }
6112+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionBL652Applications)
61086113 {
61096114 // BL652 Github
61106115 strURL = " https://github.com/LairdCP/BL652-Applications" ;
61116116 }
6112- else if (ui->combo_WebSelection ->currentIndex () == 2 )
6117+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionPinnacle100OOBDemo )
61136118 {
61146119 // Pinnacle 100 OOB Demo Github
61156120 strURL = " https://github.com/LairdCP/Pinnacle_100_oob_demo" ;
61166121 }
6117- else if (ui->combo_WebSelection ->currentIndex () == 3 )
6122+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionBluegrassDemo )
61186123 {
61196124 // Bluegrass demo site
61206125 strURL = " https://demo.lairdconnect.com" ;
61216126 }
6122- else if (ui->combo_WebSelection ->currentIndex () == 4 )
6127+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionRM1xxApplications )
61236128 {
61246129 // RM1xx Github
61256130 strURL = " https://github.com/LairdCP/RM1xx-Applications" ;
61266131 }
6127- else if (ui->combo_WebSelection ->currentIndex () == 5 )
6132+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionBT900Applications )
61286133 {
61296134 // BT900 Github
61306135 strURL = " https://github.com/LairdCP/BT900-Applications" ;
61316136 }
6132- else if (ui->combo_WebSelection ->currentIndex () == 6 )
6137+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionBL600Applications )
61336138 {
61346139 // BL600 Github
61356140 strURL = " https://github.com/LairdCP/BL600-Applications" ;
61366141 }
6137- else if (ui->combo_WebSelection ->currentIndex () == 7 )
6142+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionBL620Applications )
61386143 {
61396144 // BL620 Github
61406145 strURL = " https://github.com/LairdCP/BL620-Applications" ;
61416146 }
6142- else if (ui->combo_WebSelection ->currentIndex () == 8 )
6147+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionWirelessModules )
61436148 {
6144- // Laird Connectivity wireless modules page
6149+ // Wireless modules page
61456150 strURL = " https://www.lairdconnect.com/wireless-modules" ;
61466151 }
6147- else if (ui->combo_WebSelection ->currentIndex () == 9 )
6152+ else if (ui->combo_WebSelection ->currentIndex () == WebSelectionUwFlashX )
61486153 {
61496154 // UwFlashX github
61506155 strURL = " https://github.com/LairdCP/UwFlashX" ;
0 commit comments