| 488 | } |
| 489 | void waybar::modules::Clock::cldShift_reset() { cldCurrShift_ = (months)0; } |
| 490 | void waybar::modules::Clock::tz_up() { |
| 491 | const auto tzSize{tzList_.size()}; |
| 492 | if (tzSize == 1) return; |
| 493 | size_t newIdx{tzCurrIdx_ + 1lu}; |
| 494 | tzCurrIdx_ = (newIdx == tzSize) ? 0 : newIdx; |
| 495 | } |
| 496 | void waybar::modules::Clock::tz_down() { |
| 497 | const auto tzSize{tzList_.size()}; |
| 498 | if (tzSize == 1) return; |
nothing calls this directly
no outgoing calls
no test coverage detected