summaryrefslogtreecommitdiffhomepage
path: root/migration
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:33:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:33:36 +0200
commit841e163ae4b86317cca29748cf0f2730418e4fa5 (patch)
treefb6a7cd0fe1f575aa0e24a43981340f30661122e /migration
parentfa1801471c2708ed8266ec7b99bd4cec886ccc1b (diff)
migration: actualy batch the updates
Diffstat (limited to 'migration')
-rw-r--r--migration/migration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/migration.cpp b/migration/migration.cpp
index 386fde9b..45965bee 100644
--- a/migration/migration.cpp
+++ b/migration/migration.cpp
@@ -157,7 +157,7 @@ std::vector<QString> migrator::run()
const QString last_migration = last_migration_time();
- with_global_settings_object([&](QSettings&) {
+ with_settings_object([&](QSettings&) {
for (mptr const& m : migrations())
{
const QString date = m->unique_date();