MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / getSetting

Method getSetting

launcher/settings/SettingsObject.cpp:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72std::shared_ptr<Setting> SettingsObject::getSetting(const QString& id) const
73{
74 // Make sure there is a setting with the given ID.
75 if (!m_settings.contains(id))
76 return NULL;
77
78 return m_settings[id];
79}
80
81QVariant SettingsObject::get(const QString& id) const
82{

Callers 15

BaseInstanceMethod · 0.80
getConsoleMaxLinesMethod · 0.80
ApplicationMethod · 0.80
MainWindowMethod · 0.80
ModFolderPageMethod · 0.80
openedImplMethod · 0.80
openedImplMethod · 0.80
openedImplMethod · 0.80
openedImplMethod · 0.80
loadSettingsMethod · 0.80
openedImplMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected