| 273 | } |
| 274 | |
| 275 | bool ensureFolderPathExists(const QFileInfo folderPath) |
| 276 | { |
| 277 | QDir dir; |
| 278 | QString ensuredPath = folderPath.filePath(); |
| 279 | if (folderPath.exists()) |
| 280 | return true; |
| 281 | |
| 282 | bool success = dir.mkpath(ensuredPath); |
| 283 | return success; |
| 284 | } |
| 285 | |
| 286 | bool ensureFolderPathExists(const QString folderPathName) |
| 287 | { |
no test coverage detected