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

Function checkProblemticPathJava

launcher/FileSystem.cpp:885–889  ·  view source on GitHub ↗

Does the folder path contain any '!'? If yes, return true, otherwise false. (This is a problem for Java)

Source from the content-addressed store, hash-verified

883// Does the folder path contain any '!'? If yes, return true, otherwise false.
884// (This is a problem for Java)
885bool checkProblemticPathJava(QDir folder)
886{
887 QString pathfoldername = folder.absolutePath();
888 return pathfoldername.contains("!", Qt::CaseInsensitive);
889}
890
891QString getDesktopDir()
892{

Callers 3

ApplicationMethod · 0.85

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected