summaryrefslogtreecommitdiffstats
path: root/tests/testqml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testqml.cpp')
-rw-r--r--tests/testqml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testqml.cpp b/tests/testqml.cpp
index d0c98b709..9f66d216f 100644
--- a/tests/testqml.cpp
+++ b/tests/testqml.cpp
@@ -37,7 +37,7 @@ int main(int argc, char **argv)
argc--;
// Register types
- register_qml_types();
+ qPref::instance()->registerQML();
// Run all tst_*.qml files
return quick_test_main(argc, argv, "TestQML", tst_dir);