projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9b4d99
)
Call cam.roi.resetRegionOfInterest only if cam.roi is not null
author
Mohammed Sameer
<msameer@foolab.org>
Fri, 26 Jul 2013 19:58:42 +0000
(22:58 +0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Fri, 26 Jul 2013 19:58:42 +0000
(22:58 +0300)
qml/FocusReticle.qml
patch
|
blob
|
history
diff --git
a/qml/FocusReticle.qml
b/qml/FocusReticle.qml
index
bf37899
..
d95eada
100644
(file)
--- a/
qml/FocusReticle.qml
+++ b/
qml/FocusReticle.qml
@@
-94,7
+94,10
@@
MouseArea {
return
} else if (!touchMode && !roiMode) {
// console.log("resetting ROI")
- cam.roi.resetRegionOfInterest()
+ if (cam.roi) {
+ cam.roi.resetRegionOfInterest()
+ }
+
return
}