| 621 | // |
| 622 | |
| 623 | void Installer::checkInstall(const File &file) |
| 624 | { |
| 625 | QFileInfo installDir(QFileInfo(file.expandedPath).absolutePath()); |
| 626 | if (installDir.exists() && !installDir.isWritable()) { |
| 627 | error_ += |
| 628 | QApplication::translate("Updates", "Directory is not writable\n%1") |
| 629 | .arg(installDir.absolutePath()); |
| 630 | } |
| 631 | } |
| 632 | |
| 633 | void Installer::remove(const File &file) |
| 634 | { |
no test coverage detected