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

Method loadJsonFile

QtNodeEditor/src/NodeStyle.cpp:80–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void
81NodeStyle::
82loadJsonFile(QString styleFile)
83{
84 QFile file(styleFile);
85
86 if (!file.open(QIODevice::ReadOnly))
87 {
88 qWarning() << "Couldn't open file " << styleFile;
89
90 return;
91 }
92
93 loadJsonFromByteArray(file.readAll());
94}
95
96
97void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected