ModeButton should show the mode to be switched to instead of the active mode
authorMohammed Sameer <msameer@foolab.org>
Mon, 7 Jan 2013 10:59:53 +0000 (12:59 +0200)
committerMohammed Sameer <msameer@foolab.org>
Mon, 7 Jan 2013 10:59:53 +0000 (12:59 +0200)
qml/ModeButton.qml

index ca030de..1cf63d9 100644 (file)
@@ -45,10 +45,10 @@ Item {
                 }
 
                 platformStyle: SwitchStyle {
-                        thumbPressed: settings.mode == Camera.VideoMode ? "image://theme/icon-m-viewfinder-camera" : "image://theme/icon-m-camera-video"
+                        thumbPressed: settings.mode == Camera.VideoMode ? "image://theme/icon-m-camera-video" : "image://theme/icon-m-viewfinder-camera"
                         switchOn: ""
                         switchOff: ""
-                        thumb: settings.mode == Camera.VideoMode ? "image://theme/icon-m-camera-video" : "image://theme/icon-m-viewfinder-camera"
+                        thumb: settings.mode == Camera.VideoMode ? "image://theme/icon-m-viewfinder-camera" : "image://theme/icon-m-camera-video"
                 }
 
         }