projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
202fb5e
)
Hide flash settings and indicator when front camera is active
author
Mohammed Sameer
<msameer@foolab.org>
Mon, 12 Aug 2013 18:55:57 +0000
(21:55 +0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Mon, 12 Aug 2013 18:55:57 +0000
(21:55 +0300)
qml/ImageOverlay.qml
patch
|
blob
|
history
diff --git
a/qml/ImageOverlay.qml
b/qml/ImageOverlay.qml
index
415a0c3
..
a41d838
100644
(file)
--- a/
qml/ImageOverlay.qml
+++ b/
qml/ImageOverlay.qml
@@
-128,6
+128,7
@@
Item {
tools: CameraToolBarTools {
FlashButton {
onClicked: toolBar.push(tools)
+ visible: cam.device == 0
}
ImageSceneButton {
@@
-173,7
+174,7
@@
Item {
Indicator {
id: flashIndicator
- visible: !toolBar.expanded
+ visible: !toolBar.expanded
&& cam.device == 0
source: cameraTheme.flashIcon(settings.imageFlashMode)
}