projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b460a
)
Show the preview only when standby widget is not visible otherwise it will be shown...
author
Mohammed Sameer
<msameer@foolab.org>
Sun, 9 Sep 2012 15:05:39 +0000
(18:05 +0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Sun, 9 Sep 2012 23:01:31 +0000
(
02:01
+0300)
qml/VideoPage.qml
patch
|
blob
|
history
diff --git
a/qml/VideoPage.qml
b/qml/VideoPage.qml
index
d61d44d
..
792e6ff
100644
(file)
--- a/
qml/VideoPage.qml
+++ b/
qml/VideoPage.qml
@@
-44,7
+44,11
@@
CameraPage {
VideoMode {
id: videoMode
camera: cam
- onPreviewAvailable: page.setPreview(preview);
+ onPreviewAvailable: {
+ if (!standbyWidget.visible) {
+ page.setPreview(preview);
+ }
+ }
}
VideoTorchButton {