Bind checked property to the corresponding setting value for CameraTextSwitch
[harmattan/cameraplus] / declarative / cameraconfig.cpp
index 6085ed5..169c34c 100644 (file)
 
 #include "cameraconfig.h"
 #include "qtcamconfig.h"
+#if defined(QT4)
 #include <QDeclarativeInfo>
+#elif defined(QT5)
+#include <QQmlInfo>
+#endif
+
+// TODO: share that with qtcamera. We now have 2 instances of QtCamConfig
 
 CameraConfig::CameraConfig(QObject *parent) :
   QObject(parent),