1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

Fixed uninitialized terrainEnabled property

This commit is contained in:
Dmytro Poplavskiy 2012-07-28 21:00:02 +10:00
parent f95bd8bc1b
commit 999e5e9cc5

View File

@ -32,7 +32,8 @@
#include <QtDeclarative/qdeclarativeengine.h>
PfdQmlGadgetWidget::PfdQmlGadgetWidget(QWidget *parent) :
QDeclarativeView(parent)
QDeclarativeView(parent),
m_terrainEnabled(false)
{
setMinimumSize(64,64);
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);