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

Method toastParent

Telegram/SourceFiles/window/window_controller.cpp:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

bodyWidgetMethod · 0.80
getMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected