We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 480cba9 + c8f968a commit bbc0a3fCopy full SHA for bbc0a3f
1 file changed
libraries/task/src/task/Config.h
@@ -70,7 +70,7 @@ template <class C> class PersistentConfig : public C {
70
if (_presets.contains(preset)) {
71
// Always start back at default to remain deterministic
72
QVariantMap config = _default;
73
- QVariantMap presetConfig = _presets[preset].toMap();
+ QVariantMap presetConfig = _presets.value(preset).toMap();
74
for (auto it = presetConfig.cbegin(); it != presetConfig.cend(); it++) {
75
config.insert(it.key(), it.value());
76
}
0 commit comments