| 360 | } |
| 361 | |
| 362 | void |
| 363 | PanoramicDialog::setRunning(bool running) |
| 364 | { |
| 365 | if (running && !this->running) { |
| 366 | this->frames = 0; |
| 367 | this->ui->framesLabel->setText("0"); |
| 368 | } else if (!running && this->running) { |
| 369 | this->ui->sampleRateSpin->setValue(this->dialogConfig->sampRate); |
| 370 | } |
| 371 | |
| 372 | this->running = running; |
| 373 | this->refreshUi(); |
| 374 | } |
| 375 | |
| 376 | QString |
| 377 | PanoramicDialog::getStrategy(void) const |
no test coverage detected