Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
152
QVariant 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
160
void INIFile::set(QString key, QVariant val)
161
{
Callers
1
test_SaveLoad
Method · 0.45
Calls
2
operator[]
Method · 0.80
contains
Method · 0.45
Tested by
1
test_SaveLoad
Method · 0.36