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

Method loadFile

launcher/settings/INIFile.cpp:107–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106
107bool INIFile::loadFile(QString fileName)
108{
109 QFile file(fileName);
110 if (!file.open(QIODevice::ReadOnly))
111 return false;
112 bool success = loadFile(file.readAll());
113 file.close();
114 return success;
115}
116
117bool INIFile::loadFile(QByteArray file)
118{

Callers 5

runMethod · 0.80
test_SaveLoadMethod · 0.80
INISettingsObjectMethod · 0.80
reloadMethod · 0.80
ReadForgeInfoFunction · 0.80

Calls 5

openMethod · 0.80
lengthMethod · 0.80
operator[]Method · 0.80
countMethod · 0.45
atMethod · 0.45

Tested by 1

test_SaveLoadMethod · 0.64