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

Method refreshApplicationIcon

Telegram/SourceFiles/core/application.cpp:1864–1869  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1862}
1863
1864void Application::refreshApplicationIcon() {
1865 const auto session = (domain().started() && domain().active().sessionExists())
1866 ? &domain().active().session()
1867 : nullptr;
1868 refreshApplicationIcon(session);
1869}
1870
1871void Application::refreshApplicationIcon(Main::Session *session) {
1872 const auto support = session && session->supportMode();

Callers 3

eventFilterMethod · 0.80

Calls 8

ToggleSupportShortcutsFunction · 0.85
sessionExistsMethod · 0.80
supportModeMethod · 0.80
SetApplicationIconFunction · 0.50
CreateIconFunction · 0.50
startedMethod · 0.45
activeMethod · 0.45
sessionMethod · 0.45

Tested by

no test coverage detected