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

Method createView

Telegram/SourceFiles/data/data_cloud_file.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131std::shared_ptr<QImage> CloudImage::createView() {
132 if (auto active = activeView()) {
133 return active;
134 }
135 auto view = std::make_shared<QImage>();
136 _view = view;
137 return view;
138}
139
140std::shared_ptr<QImage> CloudImage::activeView() const {
141 return _view.lock();

Callers 9

getResultThumbMethod · 0.45
PreviewWrapMethod · 0.45
userpicCloudImageMethod · 0.45
createUserpicViewMethod · 0.45
setupPickerMethod · 0.45
subscribeToUpdatesMethod · 0.45
StateMethod · 0.45
subscribeToUpdatesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected