diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-06 13:15:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-10 11:19:22 +0200 |
commit | 87c09c0ab5e1334e9877ee6fd7adeb1eb70d5929 (patch) | |
tree | 3f407f9d0fc947427729913cf60e2e5f9b962ce0 /spline/spline.cpp | |
parent | 604914db84d0468c6c8d04dfe6491e3c15b670f7 (diff) |
options: don't create QSettings all the time
Update usages.
Diffstat (limited to 'spline/spline.cpp')
-rw-r--r-- | spline/spline.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp index 195d68d6..58703e02 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -341,15 +341,10 @@ void spline::reload() s->b->reload(); } -void spline::save(QSettings& settings) -{ - QMutexLocker foo(&_mutex); - s->b->save_deferred(settings); -} - void spline::save() { - save(*group::ini_file()); + QMutexLocker foo(&_mutex); + s->b->save(); } void spline::set_bundle(bundle b) |