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