summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefGeneral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testqPrefGeneral.cpp')
-rw-r--r--tests/testqPrefGeneral.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testqPrefGeneral.cpp b/tests/testqPrefGeneral.cpp
index f3fbbd02b..9e87d4289 100644
--- a/tests/testqPrefGeneral.cpp
+++ b/tests/testqPrefGeneral.cpp
@@ -14,7 +14,7 @@ void TestQPrefGeneral::initTestCase()
QCoreApplication::setOrganizationName("Subsurface");
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
QCoreApplication::setApplicationName("SubsurfaceTestQPrefGeneral");
- qPref::instance()->registerQML(NULL);
+ qPref::registerQML(NULL);
}
void TestQPrefGeneral::test_struct_get()