Browse Source

Fix NULL reference

QGC4.4
Don Gagne 10 years ago
parent
commit
23aab118cb
  1. 3
      src/ViewWidgets/ViewWidgetController.cc

3
src/ViewWidgets/ViewWidgetController.cc

@ -26,7 +26,8 @@ @@ -26,7 +26,8 @@
#include "AutoPilotPluginManager.h"
ViewWidgetController::ViewWidgetController(void) :
_autopilot(NULL)
_autopilot(NULL),
_uas(NULL)
{
_uasManager = UASManager::instance();
Q_ASSERT(_uasManager);

Loading…
Cancel
Save