MCPcopy Create free account
hub / github.com/PrismLauncher/PrismLauncher / getPathNameInLocal8bit

Function getPathNameInLocal8bit

launcher/FileSystem.cpp:1675–1685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1673}
1674
1675QString 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
1688QString 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