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

Method loadDocument

Telegram/SourceFiles/data/data_wall_paper.cpp:328–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328void WallPaper::loadDocument() const {
329 if (_document) {
330 _document->save(fileOrigin(), QString());
331 }
332}
333
334FileOrigin WallPaper::fileOrigin() const {
335 return FileOriginWallpaper(_id, _accessHash, _ownerId, _slug);

Callers 5

setChatBackgroundMethod · 0.80
section_widget.cppFile · 0.80
cacheChatThemeMethod · 0.80
recreateMethod · 0.80
prepareMethod · 0.80

Calls 2

QStringClass · 0.50
saveMethod · 0.45

Tested by

no test coverage detected