update() is a signal not a slot. Use the correct macro
authorMohammed Sameer <msameer@foolab.org>
Sat, 8 Dec 2012 18:38:46 +0000 (20:38 +0200)
committerMohammed Sameer <msameer@foolab.org>
Sat, 8 Dec 2012 18:38:46 +0000 (20:38 +0200)
qml/main.qml
src/cameraresources.cpp

index fb484fb..dc62267 100644 (file)
@@ -39,6 +39,7 @@ import QtMobility.location 1.2
 // TODO: disable debug builds.
 // TODO: a way to get buffers to the application
 // TODO: fcam like functionality (precise control over capture parameters).
+// TODO: mute video sound
 
 PageStackWindow {
         id: root
index daa849e..3e41080 100644 (file)
@@ -40,7 +40,7 @@ CameraResources::CameraResources(QObject *parent) :
 
   QObject::connect(m_worker, SIGNAL(acquiredChanged()), this, SIGNAL(acquiredChanged()));
   QObject::connect(m_worker, SIGNAL(hijackedChanged()), this, SIGNAL(hijackedChanged()));
-  QObject::connect(m_worker, SIGNAL(updated()), this, SLOT(updated()));
+  QObject::connect(m_worker, SIGNAL(updated()), this, SIGNAL(updated()));
 }
 
 CameraResources::~CameraResources() {