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

Method loadFile

launcher/settings/INIFile.cpp:127–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126
127bool INIFile::loadFile(QString fileName)
128{
129 QFile file(fileName);
130 if (!file.open(QIODevice::ReadOnly))
131 return false;
132 bool success = loadFile(file.readAll());
133 file.close();
134 return success;
135}
136
137bool INIFile::loadFile(QByteArray file)
138{

Callers 5

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

Calls 4

openMethod · 0.80
lengthMethod · 0.80
countMethod · 0.45
atMethod · 0.45

Tested by 1

test_SaveLoadMethod · 0.64