MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / loadJsonFile

Method loadJsonFile

QtNodeEditor/src/ConnectionStyle.cpp:94–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void
95ConnectionStyle::
96loadJsonFile(QString styleFile)
97{
98 QFile file(styleFile);
99
100 if (!file.open(QIODevice::ReadOnly))
101 {
102 qWarning() << "Couldn't open file " << styleFile;
103
104 return;
105 }
106
107 loadJsonFromByteArray(file.readAll());
108}
109
110
111void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected