| 24 | } |
| 25 | } |
| 26 | void init() override |
| 27 | { |
| 28 | if (auto styler = _styler.lock()) { |
| 29 | styler->setStyleSheet(shared_from_this(), _style); |
| 30 | } else { |
| 31 | stylesheet = _style; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | private: |
| 36 | json _style; |
nothing calls this directly
no test coverage detected