MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / qstringToPath

Function qstringToPath

src/App/ApplicationDirectories.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49namespace fs = std::filesystem;
50
51fs::path qstringToPath(const QString& path)
52{
53#if defined(FC_OS_WIN32)
54 return {path.toStdWString()};
55#else
56 return {path.toStdString()};
57#endif
58}
59
60ApplicationDirectories::ApplicationDirectories(std::map<std::string,std::string> &config)
61{

Callers 3

getCustomPathsMethod · 0.85
getStandardPathsMethod · 0.85
findHomePathMethod · 0.85

Calls 2

toStdWStringMethod · 0.80
toStdStringMethod · 0.80

Tested by

no test coverage detected