Commit cbf1f9b4 authored by DonLakeFlyer's avatar DonLakeFlyer

Fix unit test

parent ab25a46a
......@@ -20,7 +20,7 @@ MissionCommandTreeTest::MissionCommandTreeTest(void)
void MissionCommandTreeTest::init(void)
{
_commandTree = new MissionCommandTree(qgcApp(), true /* unitTest */);
_commandTree = new MissionCommandTree(qgcApp(), qgcApp()->toolbox(), true /* unitTest */);
_commandTree->setToolbox(qgcApp()->toolbox());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment