projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3aa3f7
)
Reset zoom value when camera mode is changed
author
Mohammed Sameer
<msameer@foolab.org>
Tue, 4 Sep 2012 21:27:12 +0000
(
00:27
+0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Tue, 4 Sep 2012 21:27:12 +0000
(
00:27
+0300)
qml/ZoomSlider.qml
patch
|
blob
|
history
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