MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / getPathNameInLocal8bit

Function getPathNameInLocal8bit

launcher/FileSystem.cpp:1684–1694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1682}
1683
1684QString 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
1697QString getUniqueResourceName(const QString& filePath)

Callers 2

executeTaskMethod · 0.85
executeTaskMethod · 0.85

Calls 3

fitsInLocal8bitFunction · 0.85
shortPathNameFunction · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected