MCPcopy Create free account
hub / github.com/LibreVR/Revive / LoadDocument

Method LoadDocument

ReviveOverlay/revivemanifestcontroller.cpp:310–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310bool CReviveManifestController::LoadDocument()
311{
312 if (!m_manifestFile.open(QIODevice::ReadOnly))
313 {
314 qWarning("Couldn't open manifest file for reading");
315 return false;
316 }
317
318 QJsonDocument doc = QJsonDocument::fromJson(m_manifestFile.readAll());
319 m_manifest = doc.object();
320 m_manifestFile.close();
321
322#ifndef DEBUG
323 AddApplicationManifest(m_manifestFile);
324#endif
325
326 return true;
327}
328
329bool CReviveManifestController::SaveDocument()
330{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected