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

Function checkProblemticPathJava

launcher/FileSystem.cpp:356–360  ·  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

354// Does the folder path contain any '!'? If yes, return true, otherwise false.
355// (This is a problem for Java)
356bool checkProblemticPathJava(QDir folder)
357{
358 QString pathfoldername = folder.absolutePath();
359 return pathfoldername.contains("!", Qt::CaseInsensitive);
360}
361
362QString getDesktopDir()
363{

Callers 3

ApplicationMethod · 0.85

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected