Commit 23aab118 authored by Don Gagne's avatar Don Gagne

Fix NULL reference

parent 094eaf2f
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
#include "AutoPilotPluginManager.h" #include "AutoPilotPluginManager.h"
ViewWidgetController::ViewWidgetController(void) : ViewWidgetController::ViewWidgetController(void) :
_autopilot(NULL) _autopilot(NULL),
_uas(NULL)
{ {
_uasManager = UASManager::instance(); _uasManager = UASManager::instance();
Q_ASSERT(_uasManager); Q_ASSERT(_uasManager);
......
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