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

Method get

launcher/settings/INIFile.cpp:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152QVariant INIFile::get(QString key, QVariant def) const
153{
154 if (!this->contains(key))
155 return def;
156 else
157 return this->operator[](key);
158}
159
160void INIFile::set(QString key, QVariant val)
161{

Callers 1

test_SaveLoadMethod · 0.45

Calls 2

operator[]Method · 0.80
containsMethod · 0.45

Tested by 1

test_SaveLoadMethod · 0.36