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

Method minimizeToTray

Telegram/SourceFiles/window/main_window.cpp:938–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

936}
937
938bool MainWindow::minimizeToTray() {
939 if (Core::Quitting() || !Core::App().tray().has()) {
940 return false;
941 }
942
943 closeWithoutDestroy();
944 controller().updateIsActiveBlur();
945 updateGlobalMenu();
946 return true;
947}
948
949void MainWindow::showRightColumn(object_ptr<Ui::RpWidget> widget) {
950 const auto wasWidth = width();

Callers 2

minimizeMethod · 0.80
createTrayMethod · 0.80

Calls 4

QuittingFunction · 0.85
AppClass · 0.85
updateIsActiveBlurMethod · 0.80
hasMethod · 0.45

Tested by

no test coverage detected