| 22 | } |
| 23 | |
| 24 | QVariant Setting::get() const |
| 25 | { |
| 26 | SettingsObject *sbase = m_storage; |
| 27 | if (!sbase) |
| 28 | { |
| 29 | return defValue(); |
| 30 | } |
| 31 | else |
| 32 | { |
| 33 | QVariant test = sbase->retrieveValue(*this); |
| 34 | if (!test.isValid()) |
| 35 | return defValue(); |
| 36 | return test; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | QVariant Setting::defValue() const |
| 41 | { |
nothing calls this directly
no test coverage detected