MCPcopy Create free account
hub / github.com/KDE/okular / unregisterView

Method unregisterView

core/document.cpp:5177–5190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5175}
5176
5177void Document::unregisterView(View *view)
5178{
5179 if (!view) {
5180 return;
5181 }
5182
5183 const Document *viewDoc = view->viewDocument();
5184 if (!viewDoc || viewDoc != this) {
5185 return;
5186 }
5187
5188 view->d_func()->document = nullptr;
5189 d->m_views.remove(view);
5190}
5191
5192QByteArray Document::fontData(const FontInfo &font) const
5193{

Callers 1

registerViewMethod · 0.80

Calls 1

viewDocumentMethod · 0.80

Tested by

no test coverage detected