MCPcopy Create free account
hub / github.com/MultiMC/Launcher / checkProblemticPathJava

Function checkProblemticPathJava

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

340// Does the folder path contain any '!'? If yes, return true, otherwise false.
341// (This is a problem for Java)
342bool checkProblemticPathJava(QDir folder)
343{
344 QString pathfoldername = folder.absolutePath();
345 return pathfoldername.contains("!", Qt::CaseInsensitive);
346}
347
348// Win32 crap
349#if defined Q_OS_WIN

Callers 3

ApplicationMethod · 0.85

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected