| 277 | } |
| 278 | |
| 279 | void MacroConditionTimerEdit::UpdateTimeRemaining() |
| 280 | { |
| 281 | if (!_entryData) { |
| 282 | _remaining->setText("-"); |
| 283 | return; |
| 284 | } |
| 285 | |
| 286 | if (_entryData->_paused) { |
| 287 | _remaining->setText(QString::number(_entryData->_remaining)); |
| 288 | } else { |
| 289 | _remaining->setText( |
| 290 | QString::number(_entryData->_duration.TimeRemaining())); |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | void MacroConditionTimerEdit::SetPauseContinueButtonLabel() |
| 295 | { |
nothing calls this directly
no test coverage detected