| 93 | } |
| 94 | |
| 95 | QVariant INISettingsObject::retrieveValue(const Setting &setting) |
| 96 | { |
| 97 | // if we have the setting, return value of the first matching synonym |
| 98 | if (contains(setting.id())) |
| 99 | { |
| 100 | for(auto iter: setting.configKeys()) |
| 101 | { |
| 102 | if(m_ini.contains(iter)) |
| 103 | return m_ini[iter]; |
| 104 | } |
| 105 | } |
| 106 | return QVariant(); |
| 107 | } |
no test coverage detected