Skip to content
Snippets Groups Projects
Commit cbf1f9b4 authored by DonLakeFlyer's avatar DonLakeFlyer
Browse files

Fix unit test

parent ab25a46a
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ MissionCommandTreeTest::MissionCommandTreeTest(void) ...@@ -20,7 +20,7 @@ MissionCommandTreeTest::MissionCommandTreeTest(void)
void MissionCommandTreeTest::init(void) void MissionCommandTreeTest::init(void)
{ {
_commandTree = new MissionCommandTree(qgcApp(), true /* unitTest */); _commandTree = new MissionCommandTree(qgcApp(), qgcApp()->toolbox(), true /* unitTest */);
_commandTree->setToolbox(qgcApp()->toolbox()); _commandTree->setToolbox(qgcApp()->toolbox());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment