summaryrefslogtreecommitdiffhomepage
path: root/migration/20160906_02-modules.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-05 15:54:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-05 14:35:29 +0000
commitf0216a3c53d43918295f1bd81975b391f4e5ed3b (patch)
treeb6311d48559bbdb4b657beed1bd8164d9157b03f /migration/20160906_02-modules.cpp
parent39ea3871c1b3f594df846bc0b9a627c9880ecea4 (diff)
options: don't use typeindex w/ lambdas
Rename traits' functions to be more explicit. Most of the changes are pretty old and I can't read them at this time, sorry. Adjust usages. Issue: #825 Reported-by: @DanielKinsman
Diffstat (limited to 'migration/20160906_02-modules.cpp')
-rw-r--r--migration/20160906_02-modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/20160906_02-modules.cpp b/migration/20160906_02-modules.cpp
index 9ce2b9dc..8ba61248 100644
--- a/migration/20160906_02-modules.cpp
+++ b/migration/20160906_02-modules.cpp
@@ -58,7 +58,7 @@ 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();
}