| 70 | } |
| 71 | |
| 72 | std::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 | |
| 81 | QVariant SettingsObject::get(const QString& id) const |
| 82 | { |
no test coverage detected