| 1673 | } |
| 1674 | |
| 1675 | QString getPathNameInLocal8bit(const QString& file) |
| 1676 | { |
| 1677 | if (!fitsInLocal8bit(file)) { |
| 1678 | auto path = shortPathName(file); |
| 1679 | if (!path.isEmpty()) { |
| 1680 | return path; |
| 1681 | } |
| 1682 | // in case shortPathName fails just return the path as is |
| 1683 | } |
| 1684 | return file; |
| 1685 | } |
| 1686 | #endif |
| 1687 | |
| 1688 | QString getUniqueResourceName(const QString& filePath) |
no test coverage detected