From 77aede17598db028fb6509bb060fe45b90fe5358 Mon Sep 17 00:00:00 2001 From: Mohammed Sameer Date: Sun, 15 Sep 2013 19:24:09 +0300 Subject: [PATCH] Reworked CameraToolIcon to not use meego bits --- qml/harmattan/CameraToolIcon.qml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/qml/harmattan/CameraToolIcon.qml b/qml/harmattan/CameraToolIcon.qml index 1385924..29bc3ba 100644 --- a/qml/harmattan/CameraToolIcon.qml +++ b/qml/harmattan/CameraToolIcon.qml @@ -21,8 +21,22 @@ */ import QtQuick 1.1 -import com.nokia.meego 1.1 -ToolIcon { +Item { + signal clicked + width: 80 + height: 64 + property url iconSource + + MouseArea { + anchors.fill: parent + onClicked: parent.clicked() + } + + Image { + anchors.centerIn: parent + asynchronous: true + source: parent.iconSource + } } -- 2.25.1