| 1397 | } |
| 1398 | |
| 1399 | Window::Controller *Application::separateWindowFor( |
| 1400 | Window::SeparateId id) const { |
| 1401 | for (const auto &[existingId, window] : _windows) { |
| 1402 | if (existingId == id) { |
| 1403 | return window.get(); |
| 1404 | } |
| 1405 | } |
| 1406 | return nullptr; |
| 1407 | } |
| 1408 | |
| 1409 | Window::Controller *Application::ensureSeparateWindowFor( |
| 1410 | Window::SeparateId id, |
no test coverage detected