| 80 | } |
| 81 | |
| 82 | std::shared_ptr<Setting> SettingsObject::getSetting(const QString &id) const |
| 83 | { |
| 84 | // Make sure there is a setting with the given ID. |
| 85 | if (!m_settings.contains(id)) |
| 86 | return NULL; |
| 87 | |
| 88 | return m_settings[id]; |
| 89 | } |
| 90 | |
| 91 | QVariant SettingsObject::get(const QString &id) const |
| 92 | { |
no test coverage detected