| 80 | } |
| 81 | |
| 82 | not_null<QWidget*> Show::toastParent() const { |
| 83 | const auto window = _window.get(); |
| 84 | Assert(window != nullptr); |
| 85 | return window->widget()->bodyWidget(); |
| 86 | } |
| 87 | |
| 88 | bool Show::valid() const { |
| 89 | return !_window.empty(); |
nothing calls this directly
no test coverage detected