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:
parent
7f76b7f5a0
commit
2589d0d055
@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user