@@ -14,8 +14,8 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17−import QtQuick 2.0
17+import QtQuick 2.3
18−import Ubuntu.Components 0.1
18+import Ubuntu.Components 1.1
19import "../../Components"
19import "../../Components"
21/*! \brief Preview widget for expandable widgets.
21/*! \brief Preview widget for expandable widgets.
@@ -57,11 +57,6 @@ PreviewWidget {
57 onClicked: {
57 onClicked: {
58 root.expanded = !root.expanded;
58 root.expanded = !root.expanded;
60− // TODO Remove when "view-collapse" : "view-expand" are there
63− color: root.expanded ? "red" : "green"
66 anchors.fill: parent
61 anchors.fill: parent