MCPcopy Create free account
hub / github.com/baldurk/renderdoc / LoadNotes

Method LoadNotes

qrenderdoc/Code/CaptureContext.cpp:1964–1973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1962}
1963
1964void CaptureContext::LoadNotes(const QString &data)
1965{
1966 QVariantMap root = JSONToVariant(data);
1967
1968 for(QString key : root.keys())
1969 {
1970 if(!key.isEmpty())
1971 m_Notes[key] = root[key].toString();
1972 }
1973}
1974
1975bool CaptureContext::SaveEdits()
1976{

Callers

nothing calls this directly

Calls 4

JSONToVariantFunction · 0.85
keysMethod · 0.45
isEmptyMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected