projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6276e0e
)
only do auto focus if caf has not succedded
author
Mohammed Sameer
<msameer@foolab.org>
Fri, 14 Dec 2012 20:36:13 +0000
(22:36 +0200)
committer
Mohammed Sameer
<msameer@foolab.org>
Fri, 14 Dec 2012 20:36:13 +0000
(22:36 +0200)
qml/ImagePage.qml
patch
|
blob
|
history
diff --git
a/qml/ImagePage.qml
b/qml/ImagePage.qml
index
3a0eb70
..
f8023bd
100644
(file)
--- a/
qml/ImagePage.qml
+++ b/
qml/ImagePage.qml
@@
-89,7
+89,11
@@
CameraPage {
interval: 200
running: capture.pressed
repeat: false
- onTriggered: cam.autoFocus.startAutoFocus();
+ onTriggered: {
+ if (cam.autoFocus.cafStatus != AutoFocus.Success) {
+ cam.autoFocus.startAutoFocus();
+ }
+ }
}
}