projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f827908
)
Don't check camera mode if cam is null
author
Mohammed Sameer
<msameer@foolab.org>
Sun, 23 Sep 2012 00:21:09 +0000
(
03:21
+0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Sun, 23 Sep 2012 00:21:09 +0000
(
03:21
+0300)
qml/ModeController.qml
patch
|
blob
|
history
diff --git
a/qml/ModeController.qml
b/qml/ModeController.qml
index
73998e5
..
8d0cd58
100644
(file)
--- a/
qml/ModeController.qml
+++ b/
qml/ModeController.qml
@@
-58,6
+58,10
@@
Item {
}
function set(newMode) {
+ if (!cam) {
+ return;
+ }
+
if (cam.mode == newMode) {
return;
}