Changelog for 0.0.8
[harmattan/cameraplus] / declarative / evcomp.cpp
index 6b722d4..dfed9cf 100644 (file)
 #include "qtcamevcomp.h"
 
 EvComp::EvComp(QtCamDevice *dev, QObject *parent) :
-  QObject(parent),
+  Capability(parent),
   m_evComp(new QtCamEvComp(dev, this)) {
 
+  setCapability(m_evComp);
+
   QObject::connect(m_evComp, SIGNAL(valueChanged()), this, SIGNAL(valueChanged()));
   QObject::connect(m_evComp, SIGNAL(minimumValueChanged()), this, SIGNAL(minimumChanged()));
   QObject::connect(m_evComp, SIGNAL(maximumValueChanged()), this, SIGNAL(maximunmChanged()));