projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert TextSwitch to a platform specific component and rename it to CameraTextSwitch
[harmattan/cameraplus]
/
qml
/
ZoomSlider.qml
diff --git
a/qml/ZoomSlider.qml
b/qml/ZoomSlider.qml
index
dc5dbc8
..
0f0b74a
100644
(file)
--- a/
qml/ZoomSlider.qml
+++ b/
qml/ZoomSlider.qml
@@
-20,18
+20,15
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-import QtQuick 1.1
-import com.nokia.meego 1.1
+import QtQuick 2.0
import QtCamera 1.0
import QtCamera 1.0
-Slider {
+
Camera
Slider {
id: slider
property Camera camera: null
id: slider
property Camera camera: null
- platformStyle: SliderStyle {
- handleBackground: ""
- handleBackgroundPressed: ""
- }
+ handleBackground: ""
+ handleBackgroundPressed: ""
Binding {
target: camera ? camera.zoom : null
Binding {
target: camera ? camera.zoom : null