summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-14 19:19:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-14 19:19:13 +0200
commit8aff21e4e73aa2517dc433da12202fd8c6052783 (patch)
treea5554324c5afcc4354b6723de6069bf03042318d
parent1fdd53b6f652419f0f63c6846660f80ec672853a (diff)
merely nits
-rw-r--r--facetracknoir/options.h5
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);
+ }
}
};