projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reworked CheckButton API
[harmattan/cameraplus]
/
qml
/
VideoMuteButton.qml
diff --git
a/qml/VideoMuteButton.qml
b/qml/VideoMuteButton.qml
index
ada6812
..
c480dc6
100644
(file)
--- a/
qml/VideoMuteButton.qml
+++ b/
qml/VideoMuteButton.qml
@@
-20,11
+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_QT_QUICK@
-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"
+CameraToolIcon {
+ iconId: settings.videoMuted ? cameraTheme.soundMuteOnIconId : cameraTheme.soundMuteOffIconId
onClicked: settings.videoMuted = !settings.videoMuted
}
onClicked: settings.videoMuted = !settings.videoMuted
}