on xenial help sign in
Fixlets
4103ec3Albert Astals
qml/Dash/Previews/PreviewExpandable.qml+2−7
@@ -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/>.
15 */
15 */
16
16
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"
20
20
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;
59 }
59 }
60− // TODO Remove when "view-collapse" : "view-expand" are there
61− Rectangle {
62− anchors.fill: parent
63− color: root.expanded ? "red" : "green"
64− }
65 Icon {
60 Icon {
66 anchors.fill: parent
61 anchors.fill: parent
67 width: 64
62 width: 64