| 324 | } |
| 325 | |
| 326 | void IconList::installIcon(const QString &file, const QString &name) |
| 327 | { |
| 328 | QFileInfo fileinfo(file); |
| 329 | if(!fileinfo.isReadable() || !fileinfo.isFile()) |
| 330 | return; |
| 331 | |
| 332 | QString target = FS::PathCombine(getDirectory(), name); |
| 333 | |
| 334 | QFile::copy(file, target); |
| 335 | } |
| 336 | |
| 337 | bool IconList::iconFileExists(const QString &key) const |
| 338 | { |
no test coverage detected