| 247 | } |
| 248 | |
| 249 | void |
| 250 | TLESourceTab::refreshDownloadStatus(void) |
| 251 | { |
| 252 | if (this->srcFailed > 0) { |
| 253 | this->ui->downloadStatusLabel->setText( |
| 254 | "Downloading " + QString::number(this->srcNum) + |
| 255 | " of " + QString::number(this->srcCount) + |
| 256 | " (" + QString::fromStdString(this->currSrc->name) + "), " + |
| 257 | QString::number(this->srcFailed) + " failed"); |
| 258 | } else { |
| 259 | this->ui->downloadStatusLabel->setText( |
| 260 | "Downloading " + QString::number(this->srcNum) + |
| 261 | " of " + QString::number(this->srcCount) + |
| 262 | " (" + QString::fromStdString(this->currSrc->name) + ")"); |
| 263 | } |
| 264 | } |
| 265 | TLESourceTab::TLESourceTab(QWidget *parent) : |
| 266 | ConfigTab(parent, "TLE Sources"), |
| 267 | ui(new Ui::TLESourceTab) |
no outgoing calls
no test coverage detected