diff --git a/src/ui/HSIDisplay.cc b/src/ui/HSIDisplay.cc index 913b913d490be4aa6c5a001dd2d3d21b32208ef2..b025febf3dfab3a9255af7f533a6932ed77b315e 100644 --- a/src/ui/HSIDisplay.cc +++ b/src/ui/HSIDisplay.cc @@ -119,7 +119,7 @@ void HSIDisplay::paintDisplay() float bottomMargin = 3.0f; // Size of the ring instrument - const float margin = 0.1f; // 10% margin of total width on each side + //const float margin = 0.1f; // 10% margin of total width on each side float baseRadius = (vheight - topMargin - bottomMargin) / 2.0f - bottomMargin / 2.0f; // Draw instruments @@ -294,6 +294,7 @@ void HSIDisplay::drawPositionLock(float x, float y, QString label, int status, Q void HSIDisplay::updatePositionLock(UASInterface* uas, bool lock) { + Q_UNUSED(uas); positionLock = lock; } @@ -876,12 +877,17 @@ void visionLocalizationChanged(UASInterface* uas, int fix); void HSIDisplay::updateJoystick(double roll, double pitch, double yaw, double thrust, int xHat, int yHat) { - + Q_UNUSED(roll); + Q_UNUSED(pitch); + Q_UNUSED(yaw); + Q_UNUSED(thrust); + Q_UNUSED(xHat); + Q_UNUSED(yHat); } void HSIDisplay::pressKey(int key) { - + Q_UNUSED(key); } diff --git a/src/ui/watchdog/WatchdogProcessView.cc b/src/ui/watchdog/WatchdogProcessView.cc index 1a65ac642bde646e45327866c88118c54cf81118..f1fccbda5ecfed76f8a3713f6b2a85c92adca80e 100644 --- a/src/ui/watchdog/WatchdogProcessView.cc +++ b/src/ui/watchdog/WatchdogProcessView.cc @@ -3,6 +3,7 @@ WatchdogProcessView::WatchdogProcessView(int processid, QWidget *parent) : QWidget(parent), + processid(processid), m_ui(new Ui::WatchdogProcessView) { m_ui->setupUi(this); diff --git a/src/ui/watchdog/WatchdogProcessView.h b/src/ui/watchdog/WatchdogProcessView.h index fa014b32dc1d10245d54407226b2f2e3be8ec794..59a7d89251d9545a819f13f25198ce03fdf241f7 100644 --- a/src/ui/watchdog/WatchdogProcessView.h +++ b/src/ui/watchdog/WatchdogProcessView.h @@ -16,6 +16,7 @@ public: protected: void changeEvent(QEvent *e); + int processid; private: Ui::WatchdogProcessView *m_ui;