| 58 | } |
| 59 | |
| 60 | void OutputPagePrivate::updateFileRange(const QString& field) |
| 61 | { |
| 62 | const auto outputFileIt = outputFiles.constFind(field); |
| 63 | if (outputFileIt == outputFiles.constEnd()) { |
| 64 | return; |
| 65 | } |
| 66 | |
| 67 | const QString url = (*outputFileIt)->url().toLocalFile(); |
| 68 | QFileInfo info(url); |
| 69 | |
| 70 | updateRanges(outputLines[field], outputColumns[field], info.exists() && !info.isDir()); |
| 71 | |
| 72 | validate(); |
| 73 | } |
| 74 | |
| 75 | void OutputPagePrivate::updateFileNames() |
| 76 | { |
no test coverage detected