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:
parent
ce00c0bc4d
commit
a140c76a6f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user