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

Method removeDocumentTiles

modules/QtPDF/src/PDFPageCache.cpp:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void PDFPageCache::removeDocumentTiles(const Document *doc)
79{
80 QWriteLocker l(&_lock);
81
82 const auto keys = m_cache.keys();
83 for (const PDFPageTile & tile : keys) {
84 if (tile.doc == doc) {
85 m_cache.remove(tile);
86 }
87 }
88}
89
90void PDFPageCache::markOutdated(const Document * doc)
91{

Callers 2

reinitializeFromSceneMethod · 0.80
~DocumentMethod · 0.80

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected