| 201 | } |
| 202 | |
| 203 | const GeneralConfig ConfigReader::resolveTmpPath( |
| 204 | const GeneralConfig& config) const { |
| 205 | QFileInfo fi(config.tmpPath()); |
| 206 | |
| 207 | if (fi.isDir() && fi.isWritable()) { |
| 208 | return config; |
| 209 | } else { |
| 210 | return config.setTmpPath(QDir::tempPath()); |
| 211 | } |
| 212 | } |
nothing calls this directly
no test coverage detected