projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kill CameraButtonRow and use the QtQuick Row component
[harmattan/cameraplus]
/
qml
/
VideoMuteButton.qml
diff --git
a/qml/VideoMuteButton.qml
b/qml/VideoMuteButton.qml
index
214e7b2
..
ac8ed9a
100644
(file)
--- a/
qml/VideoMuteButton.qml
+++ b/
qml/VideoMuteButton.qml
@@
-20,10
+20,9
@@
* 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
-ToolIcon {
- iconSource: settings.videoMuted ? "image://theme/icon-m-toolbar-volume-off-white-selected" : "image://theme/icon-m-toolbar-volume-white-selected"
- onClicked: settings.videoMuted = !settings.videoMuted;
+
Camera
ToolIcon {
+ iconSource: settings.videoMuted ? cameraTheme.soundMuteOnIconId : cameraTheme.soundMuteOffIconId
+ onClicked: settings.videoMuted = !settings.videoMuted
}
}