| 308 | } |
| 309 | |
| 310 | void ClientChainApplet::setMonitorPlaying(bool on) |
| 311 | { |
| 312 | if (m_monPlaying == on) return; |
| 313 | m_monPlaying = on; |
| 314 | if (m_monPlayBtn) { |
| 315 | QSignalBlocker b(m_monPlayBtn); |
| 316 | m_monPlayBtn->setChecked(on); |
| 317 | } |
| 318 | if (on) { |
| 319 | m_monPlayPulseDim = false; |
| 320 | if (m_monPlayPulse) m_monPlayPulse->start(); |
| 321 | } else if (m_monPlayPulse) { |
| 322 | m_monPlayPulse->stop(); |
| 323 | } |
| 324 | applyPlayButtonStyle(); |
| 325 | updateMonitorButtonEnables(); |
| 326 | } |
| 327 | |
| 328 | void ClientChainApplet::setMonitorHasRecording(bool has) |
| 329 | { |
no test coverage detected