| 260 | } |
| 261 | |
| 262 | bool ensureFolderPathExists(const QFileInfo folderPath) |
| 263 | { |
| 264 | QDir dir; |
| 265 | QString ensuredPath = folderPath.filePath(); |
| 266 | if (folderPath.exists()) |
| 267 | return true; |
| 268 | |
| 269 | bool success = dir.mkpath(ensuredPath); |
| 270 | return success; |
| 271 | } |
| 272 | |
| 273 | bool ensureFolderPathExists(const QString folderPathName) |
| 274 | { |
no test coverage detected