Browse Source

Remove deleted signal

QGC4.4
DonLakeFlyer 7 years ago
parent
commit
11e2e9a3ac
  1. 1
      src/MissionManager/CameraCalcTest.cc
  2. 4
      src/MissionManager/CameraCalcTest.h

1
src/MissionManager/CameraCalcTest.cc

@ -23,7 +23,6 @@ void CameraCalcTest::init(void)
_offlineVehicle = new Vehicle(MAV_AUTOPILOT_PX4, MAV_TYPE_QUADROTOR, qgcApp()->toolbox()->firmwarePluginManager(), this); _offlineVehicle = new Vehicle(MAV_AUTOPILOT_PX4, MAV_TYPE_QUADROTOR, qgcApp()->toolbox()->firmwarePluginManager(), this);
_cameraCalc = new CameraCalc(_offlineVehicle, "CameraCalcUnitTest" /* settingsGroup */, this); _cameraCalc = new CameraCalc(_offlineVehicle, "CameraCalcUnitTest" /* settingsGroup */, this);
_rgSignals[cameraNameChangedIndex] = SIGNAL(cameraNameChanged(QString));
_rgSignals[dirtyChangedIndex] = SIGNAL(dirtyChanged(bool)); _rgSignals[dirtyChangedIndex] = SIGNAL(dirtyChanged(bool));
_rgSignals[imageFootprintSideChangedIndex] = SIGNAL(imageFootprintSideChanged(double)); _rgSignals[imageFootprintSideChangedIndex] = SIGNAL(imageFootprintSideChanged(double));
_rgSignals[imageFootprintFrontalChangedIndex] = SIGNAL(imageFootprintFrontalChanged(double)); _rgSignals[imageFootprintFrontalChangedIndex] = SIGNAL(imageFootprintFrontalChanged(double));

4
src/MissionManager/CameraCalcTest.h

@ -31,8 +31,7 @@ private slots:
private: private:
enum { enum {
cameraNameChangedIndex = 0, dirtyChangedIndex = 0,
dirtyChangedIndex,
imageFootprintSideChangedIndex, imageFootprintSideChangedIndex,
imageFootprintFrontalChangedIndex, imageFootprintFrontalChangedIndex,
distanceToSurfaceRelativeChangedIndex, distanceToSurfaceRelativeChangedIndex,
@ -40,7 +39,6 @@ private:
}; };
enum { enum {
cameraNameChangedMask = 1 << cameraNameChangedIndex,
dirtyChangedMask = 1 << dirtyChangedIndex, dirtyChangedMask = 1 << dirtyChangedIndex,
imageFootprintSideChangedMask = 1 << imageFootprintSideChangedIndex, imageFootprintSideChangedMask = 1 << imageFootprintSideChangedIndex,
imageFootprintFrontalChangedMask = 1 << imageFootprintFrontalChangedIndex, imageFootprintFrontalChangedMask = 1 << imageFootprintFrontalChangedIndex,

Loading…
Cancel
Save