Changelog for 0.0.8
[harmattan/cameraplus] / declarative / iso.cpp
index c5d6088..af39af6 100644 (file)
 #include "qtcamiso.h"
 
 Iso::Iso(QtCamDevice *dev, QObject *parent) :
-  QObject(parent),
+  Capability(parent),
   m_iso(new QtCamIso(dev, this)) {
 
+  setCapability(m_iso);
+
   QObject::connect(m_iso, SIGNAL(valueChanged()), this, SIGNAL(valueChanged()));
   QObject::connect(m_iso, SIGNAL(minimumValueChanged()), this, SIGNAL(minimumChanged()));
   QObject::connect(m_iso, SIGNAL(maximumValueChanged()), this, SIGNAL(maximunmChanged()));