X-Git-Url: http://cgit.sxemacs.org/?p=harmattan%2Fcameraplus;a=blobdiff_plain;f=qml%2FIndicator.qml;h=bcacd1bbaf4994ba50224642d3f255bed6c2f1a2;hp=b2be78cebefa533cd15b6633ed75c02bca13b7a1;hb=bbaadb8139399ca7d6088bf8ff69fa487eae57bd;hpb=8fda608e8809c2b5c1b0db2a10e6099b73759ce8 diff --git a/qml/Indicator.qml b/qml/Indicator.qml index b2be78c..bcacd1b 100644 --- a/qml/Indicator.qml +++ b/qml/Indicator.qml @@ -3,7 +3,7 @@ /*! * This file is part of CameraPlus. * - * Copyright (C) 2012 Mohammed Sameer + * Copyright (C) 2012-2013 Mohammed Sameer * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -20,16 +20,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -import QtQuick 1.1 +import QtQuick 2.0 Image { - anchors.left: parent.left - anchors.right: parent.right - anchors.leftMargin: 5 - anchors.rightMargin: 5 - anchors.topMargin: 5 - anchors.bottomMargin: 5 + anchors.left: parent.left + anchors.right: parent.right + anchors.leftMargin: 5 + anchors.rightMargin: 5 + anchors.topMargin: 5 + anchors.bottomMargin: 5 - width: parent.width - 10 - height: width + height: width }