| 1682 | } |
| 1683 | |
| 1684 | QString getPathNameInLocal8bit(const QString& file) |
| 1685 | { |
| 1686 | if (!fitsInLocal8bit(file)) { |
| 1687 | auto path = shortPathName(file); |
| 1688 | if (!path.isEmpty()) { |
| 1689 | return path; |
| 1690 | } |
| 1691 | // in case shortPathName fails just return the path as is |
| 1692 | } |
| 1693 | return file; |
| 1694 | } |
| 1695 | #endif |
| 1696 | |
| 1697 | QString getUniqueResourceName(const QString& filePath) |
no test coverage detected