1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Hide terrain related options if compiled without OSG

This commit is contained in:
Dmytro Poplavskiy 2012-08-01 00:35:21 +10:00
parent ce00c0bc4d
commit a140c76a6f

View File

@ -62,6 +62,11 @@ QWidget *PfdQmlGadgetOptionsPage::createPage(QWidget *parent)
options_page->altitude->setText(QString::number(m_config->altitude()));
options_page->useOnlyCache->setChecked(m_config->cacheOnly());
#ifndef USE_OSG
options_page->showTerrain->setChecked(false);
options_page->showTerrain->setVisible(false);
#endif
return optionsPageWidget;
}