summaryrefslogtreecommitdiffhomepage
path: root/migration/20160906_02-modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'migration/20160906_02-modules.cpp')
-rw-r--r--migration/20160906_02-modules.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/20160906_02-modules.cpp b/migration/20160906_02-modules.cpp
index 9ce2b9dc..46745112 100644
--- a/migration/20160906_02-modules.cpp
+++ b/migration/20160906_02-modules.cpp
@@ -58,10 +58,10 @@ struct split_modules_rc11 : migration
bundle old_bundle = make_bundle("opentrack-ui");
for (const char* name : module_names)
- new_bundle->store_kv(name, QVariant(old_bundle->get<QString>(name)));
+ new_bundle->store_kv(name, old_bundle->get_variant(name));
new_bundle->save();
}
};
-OPENTRACK_MIGRATION(split_modules_rc11);
+OPENTRACK_MIGRATION(split_modules_rc11)