| 55 | } |
| 56 | |
| 57 | std::string TransitionSelection::ToString() const |
| 58 | { |
| 59 | switch (_type) { |
| 60 | case Type::TRANSITION: |
| 61 | return GetWeakSourceName(_transition); |
| 62 | case Type::CURRENT: |
| 63 | return obs_module_text("AdvSceneSwitcher.currentTransition"); |
| 64 | case Type::ANY: |
| 65 | return obs_module_text("AdvSceneSwitcher.anyTransition"); |
| 66 | default: |
| 67 | break; |
| 68 | } |
| 69 | return ""; |
| 70 | } |
| 71 | |
| 72 | TransitionSelectionWidget::TransitionSelectionWidget(QWidget *parent, |
| 73 | bool current, bool any) |
no test coverage detected