From e9fa298d06bdeb267a7931f9b54cd82b3c1e3a1b Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 3 Apr 2019 23:28:26 +0200 Subject: Cleanup: make qPref::registerQML() static This member function does not access any other member of the object. Make it static. Signed-off-by: Berthold Stoeger --- tests/testqPrefGeocoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testqPrefGeocoding.cpp') diff --git a/tests/testqPrefGeocoding.cpp b/tests/testqPrefGeocoding.cpp index 8b9f1442e..4be621d80 100644 --- a/tests/testqPrefGeocoding.cpp +++ b/tests/testqPrefGeocoding.cpp @@ -14,7 +14,7 @@ void TestQPrefGeocoding::initTestCase() QCoreApplication::setOrganizationName("Subsurface"); QCoreApplication::setOrganizationDomain("subsurface.hohndel.org"); QCoreApplication::setApplicationName("SubsurfaceTestQPrefGeocoding"); - qPref::instance()->registerQML(NULL); + qPref::registerQML(NULL); } void TestQPrefGeocoding::test_struct_get() -- cgit v1.2.3-70-g09d2