| 290 | } |
| 291 | |
| 292 | void ClientChainApplet::setMonitorRecording(bool on) |
| 293 | { |
| 294 | if (m_monRecording == on) return; |
| 295 | m_monRecording = on; |
| 296 | if (m_monRecBtn) { |
| 297 | QSignalBlocker b(m_monRecBtn); |
| 298 | m_monRecBtn->setChecked(on); |
| 299 | } |
| 300 | if (on) { |
| 301 | m_monRecPulseDim = false; |
| 302 | if (m_monRecPulse) m_monRecPulse->start(); |
| 303 | } else if (m_monRecPulse) { |
| 304 | m_monRecPulse->stop(); |
| 305 | } |
| 306 | applyRecordButtonStyle(); |
| 307 | updateMonitorButtonEnables(); |
| 308 | } |
| 309 | |
| 310 | void ClientChainApplet::setMonitorPlaying(bool on) |
| 311 | { |
no test coverage detected