@@ -38,7 +38,7 @@ void TestActiveProject::testProjectValidations()
3838
3939 AppSettings as;
4040 ActiveLayer activeLayer;
41- ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager (), mApi );
41+ ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager () );
4242
4343 QSignalSpy spyReportIssues ( &activeProject, &ActiveProject::reportIssue );
4444 QSignalSpy spyErrorsFound ( &activeProject, &ActiveProject::loadingErrorFound );
@@ -63,7 +63,7 @@ void TestActiveProject::testProjectLoadFailure()
6363
6464 AppSettings as;
6565 ActiveLayer activeLayer;
66- ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager (), mApi );
66+ ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager () );
6767
6868 mApi ->localProjectsManager ().addLocalProject ( projectdir, projectname );
6969
@@ -83,7 +83,7 @@ void TestActiveProject::testPositionTrackingFlag()
8383
8484 AppSettings as;
8585 ActiveLayer activeLayer;
86- ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager (), mApi );
86+ ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager () );
8787
8888 // project "planes" - tracking not enabled
8989 QString projectDir = TestUtils::testDataDir () + " /planes/" ;
@@ -123,7 +123,7 @@ void TestActiveProject::testRecordingAllowed()
123123
124124 AppSettings as;
125125 ActiveLayer activeLayer;
126- ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager (), mApi );
126+ ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager () );
127127
128128 mApi ->localProjectsManager ().addLocalProject ( projectDir, projectFilename );
129129 QVERIFY ( activeProject.load ( projectDir + " /" + projectFilename ) );
@@ -171,7 +171,7 @@ void TestActiveProject::testLoadingFlagFileExpiration()
171171{
172172 AppSettings as;
173173 ActiveLayer activeLayer;
174- ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager (), mApi );
174+ ActiveProject activeProject ( as, activeLayer, mApi ->localProjectsManager () );
175175
176176 // project "planes" - tracking not enabled
177177 QString projectDir = TestUtils::testDataDir () + " /planes/" ;
@@ -197,7 +197,7 @@ void TestActiveProject::testLoadingAuthFileFromConfiguration()
197197{
198198 AppSettings appSettings;
199199 ActiveLayer activeLayer;
200- ActiveProject activeProject ( appSettings, activeLayer, mApi ->localProjectsManager (), mApi );
200+ ActiveProject activeProject ( appSettings, activeLayer, mApi ->localProjectsManager () );
201201 QString projectDir = TestUtils::testDataDir () + QStringLiteral ( " /project_auth_file/" );
202202 QString projectName = QStringLiteral ( " auth-test.qgz" );
203203 QString authFile = QDir ( projectDir ).filePath ( CoreUtils::AUTH_CONFIG_FILENAME );
0 commit comments