MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / separateWindowFor

Method separateWindowFor

Telegram/SourceFiles/core/application.cpp:1399–1407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1397}
1398
1399Window::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
1409Window::Controller *Application::ensureSeparateWindowFor(
1410 Window::SeparateId id,

Callers 15

WindowForThreadFunction · 0.80
setupShortcutsMethod · 0.80
addActivatedMethod · 0.80
closeAccountWindowsMethod · 0.80
maybeActivateMethod · 0.80
activateMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected