Initial implementation of our own VideoPlayer declarative item
[harmattan/cameraplus] / declarative / cameraconfig.cpp
index b247d62..6085ed5 100644 (file)
@@ -59,6 +59,10 @@ void CameraConfig::classBegin() {
 }
 
 void CameraConfig::componentComplete() {
+  if (m_config) {
+    return;
+  }
+
   if (m_path.isEmpty()) {
     m_config = new QtCamConfig(this);
   }