projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable auto focus when front camera is active
[harmattan/cameraplus]
/
declarative
/
scene.cpp
diff --git
a/declarative/scene.cpp
b/declarative/scene.cpp
index
9b5004f
..
b08fd61
100644
(file)
--- a/
declarative/scene.cpp
+++ b/
declarative/scene.cpp
@@
-1,7
+1,7
@@
/*!
* This file is part of CameraPlus.
*
/*!
* This file is part of CameraPlus.
*
- * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
+ * Copyright (C) 2012
-2013
Mohammed Sameer <msameer@foolab.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-21,9
+21,11
@@
#include "scene.h"
Scene::Scene(QtCamDevice *dev, QObject *parent) :
#include "scene.h"
Scene::Scene(QtCamDevice *dev, QObject *parent) :
-
QObject
(parent),
+
Capability
(parent),
m_scene(new QtCamScene(dev, this)) {
m_scene(new QtCamScene(dev, this)) {
+ setCapability(m_scene);
+
QObject::connect(m_scene, SIGNAL(valueChanged()), this, SIGNAL(valueChanged()));
}
QObject::connect(m_scene, SIGNAL(valueChanged()), this, SIGNAL(valueChanged()));
}