Added NoFaceDetection quirk
[harmattan/cameraplus] / declarative / exposure.cpp
index 7196840..df820e4 100644 (file)
 #include "qtcamexposure.h"
 
 Exposure::Exposure(QtCamDevice *dev, QObject *parent) :
-  QObject(parent),
+  Capability(parent),
   m_exposure(new QtCamExposure(dev, this)) {
 
+  setCapability(m_exposure);
+
   QObject::connect(m_exposure, SIGNAL(valueChanged()), this, SIGNAL(valueChanged()));
   QObject::connect(m_exposure, SIGNAL(minimumValueChanged()), this, SIGNAL(minimumChanged()));
   QObject::connect(m_exposure, SIGNAL(maximumValueChanged()), this, SIGNAL(maximunmChanged()));