| 119 | } |
| 120 | |
| 121 | void |
| 122 | ProfileConfigTab::populateRemoteDeviceCombo(void) |
| 123 | { |
| 124 | Suscan::Singleton *sus = Suscan::Singleton::get_instance(); |
| 125 | |
| 126 | this->ui->remoteDeviceCombo->clear(); |
| 127 | |
| 128 | for ( |
| 129 | auto i = sus->getFirstNetworkProfile(); |
| 130 | i != sus->getLastNetworkProfile(); |
| 131 | ++i) |
| 132 | this->ui->remoteDeviceCombo->addItem(i->label().c_str()); |
| 133 | |
| 134 | if (this->ui->remoteDeviceCombo->currentIndex() != -1) |
| 135 | this->ui->remoteDeviceCombo->setCurrentIndex(0); |
| 136 | } |
| 137 | |
| 138 | |
| 139 | void |
no test coverage detected