From 2589d0d05594009874503003901a2f91353c3eb2 Mon Sep 17 00:00:00 2001 From: edouard Date: Thu, 26 Aug 2010 16:47:51 +0000 Subject: [PATCH] OP-38 Windows compile fix git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1418 ebee16cc-31ac-478f-84a7-5cbb03baadba --- .../src/plugins/config/configahrswidget.cpp | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ground/src/plugins/config/configahrswidget.cpp b/ground/src/plugins/config/configahrswidget.cpp index c4c77af9e..8c8ffd50e 100644 --- a/ground/src/plugins/config/configahrswidget.cpp +++ b/ground/src/plugins/config/configahrswidget.cpp @@ -188,6 +188,10 @@ ConfigAHRSWidget::~ConfigAHRSWidget() void ConfigAHRSWidget::showEvent(QShowEvent *event) { + Q_UNUSED(event) + // Thit fitInView method should only be called now, once the + // widget is shown, otherwise it cannot compute its values and + // the result is usually a ahrsbargraph that is way too small. m_ahrs->ahrsBargraph->fitInView(ahrsbargraph, Qt::KeepAspectRatio); } @@ -336,3 +340,19 @@ void ConfigAHRSWidget::ahrsSettingsRequest() } +/** + Save current settings to RAM (besides the Calibration data) + */ +void ConfigAHRSWidget::ahrsSettingsSaveRAM() +{ + +} + + +/** + Save current settings to SD (besides the Calibration data) + */ +void ConfigAHRSWidget::ahrsSettingsSaveSD() +{ + +}