| 78 | } |
| 79 | |
| 80 | void |
| 81 | NodeStyle:: |
| 82 | loadJsonFile(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 | |
| 97 | void |
nothing calls this directly
no outgoing calls
no test coverage detected