| 508 | } |
| 509 | |
| 510 | void TabServerStatus::RefreshIndicatorState(TcLabel* indicator, bool ok) { |
| 511 | if (ok) { |
| 512 | indicator->setStyleSheet("font-size: 13px; font-weight: bold; color:#ffffff; background:#00cc00; border-radius:13px"); |
| 513 | indicator->setText("OK"); |
| 514 | } else { |
| 515 | indicator->setStyleSheet("font-size: 13px; font-weight: bold; color:#ffffff; background:#cc0000; border-radius:13px"); |
| 516 | indicator->setText("ERROR"); |
| 517 | } |
| 518 | } |
| 519 | |
| 520 | void TabServerStatus::RefreshUIEverySecond() { |
| 521 | if (!this->lbl_audio_format_) { |
nothing calls this directly
no outgoing calls
no test coverage detected