projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reset zoom value when camera mode is changed
[harmattan/cameraplus]
/
qml
/
ZoomSlider.qml
diff --git
a/qml/ZoomSlider.qml
b/qml/ZoomSlider.qml
index
3ea490e
..
a4e006b
100644
(file)
--- a/
qml/ZoomSlider.qml
+++ b/
qml/ZoomSlider.qml
@@
-17,6
+17,11
@@
Slider {
value: slider.value
}
+ Connections {
+ target: camera
+ onModeChanged: slider.value = zoom.minimum;
+ }
+
orientation: Qt.Horizontal
width: 500
height: 50