| 195 | } |
| 196 | |
| 197 | int ConfigWindow::findConfigFile(const QString &file) |
| 198 | { |
| 199 | if (file.isEmpty()) { |
| 200 | // Unsaved configuration |
| 201 | return -1; |
| 202 | } |
| 203 | int i = 0; |
| 204 | for (auto sc : configs) { |
| 205 | if (sc->paramFile == file) { |
| 206 | return i; |
| 207 | } |
| 208 | i++; |
| 209 | } |
| 210 | return -1; |
| 211 | } |
| 212 | |
| 213 | void ConfigWindow::stashModifiedConfigs() |
| 214 | { |
no outgoing calls
no test coverage detected