MCPcopy Create free account
hub / github.com/TeXworks/texworks / markOutdated

Method markOutdated

modules/QtPDF/src/PDFPageCache.cpp:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void PDFPageCache::markOutdated(const Document * doc)
91{
92 QWriteLocker l(&_lock);
93
94 const auto keys = m_cache.keys();
95 for (const PDFPageTile & tile : keys) {
96 if (tile.doc == doc) {
97 m_cache[tile]->status = OUTDATED;
98 }
99 }
100}
101
102} // namespace Backend
103

Callers 2

reloadMethod · 0.80
reloadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected