| 17 | inline void initResources() { Q_INIT_RESOURCE(resources); } |
| 18 | |
| 19 | NodeStyle:: |
| 20 | NodeStyle() |
| 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 | |
| 31 | NodeStyle:: |
nothing calls this directly
no test coverage detected