Commit ef221a2c authored by lm's avatar lm

Fixed opmapcontrol build issues

parent bf94b35d
......@@ -1027,20 +1027,11 @@ void MainWindow::connectCommonWidgets()
infoDockWidget->widget(), SLOT(updateSendLoss(int, float)));
}
if (mapWidget && waypointsDockWidget->widget())
{
//
connect(waypointsDockWidget->widget(), SIGNAL(changePointList()), mapWidget, SLOT(clearWaypoints()));
}
//TODO temporaly debug
if (slugsHilSimWidget && slugsHilSimWidget->widget()){
connect(UASManager::instance(), SIGNAL(activeUASSet(UASInterface*)),
slugsHilSimWidget->widget(), SLOT(activeUasSet(UASInterface*)));
}
}
void MainWindow::createCustomWidget()
......
#include "QGCMapWidget.h"
QGCMapWidget::QGCMapWidget(QWidget *parent) :
OPMapWidget(parent)
mapcontrol::OPMapWidget(parent)
{
}
#ifndef QGCMAPWIDGET_H
#define QGCMAPWIDGET_H
class QGCMapWidget : public OPMapWidget
#include "opmapcontrol.h"
class QGCMapWidget : public mapcontrol::OPMapWidget
{
Q_OBJECT
public:
......
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