1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-38 Windows compile fix

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1418 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2010-08-26 16:47:51 +00:00 committed by edouard
parent 7f76b7f5a0
commit 2589d0d055

View File

@ -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()
{
}