diff options
Diffstat (limited to 'facetracknoir/options.h')
-rw-r--r-- | facetracknoir/options.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/facetracknoir/options.h b/facetracknoir/options.h index b4b1f0f7..27d7eed7 100644 --- a/facetracknoir/options.h +++ b/facetracknoir/options.h @@ -97,7 +97,7 @@ namespace options { QSettings s(ini_pathname(), QSettings::IniFormat); s.beginGroup(name); for (auto& i : map) - s.setValue(i.first, map[i.first]); + s.setValue(i.first, i.second); s.endGroup(); } @@ -210,7 +210,10 @@ namespace options { QMutexLocker l(&implsgl_mtx); if (--std::get<0>(implsgl_bundles[this->group_name]) == 0) + { + qDebug() << "bundle" << this->group_name << "not used anymore"; implsgl_bundles.erase(this->group_name); + } } }; |