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

Method NodeStyle

QtNodeEditor/src/NodeStyle.cpp:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17inline void initResources() { Q_INIT_RESOURCE(resources); }
18
19NodeStyle::
20NodeStyle()
21{
22 // Explicit resources inialization for preventing the static initialization
23 // order fiasco: https://isocpp.org/wiki/faq/ctors#static-init-order
24 initResources();
25
26 // This configuration is stored inside the compiled unit and is loaded statically
27 loadJsonFile(":DefaultStyle.json");
28}
29
30
31NodeStyle::

Callers

nothing calls this directly

Calls 1

initResourcesFunction · 0.70

Tested by

no test coverage detected