| 92 | } |
| 93 | |
| 94 | void |
| 95 | ConnectionStyle:: |
| 96 | loadJsonFile(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 | |
| 111 | void |
nothing calls this directly
no outgoing calls
no test coverage detected