@@ -26,7 +26,8 @@ Rectangle {
2626 color: "black"
2727
2828 property var application
29− onApplicationChanged: print("setting app to", application.appId, application.screenshot)
29+
30+ signal switched()
3031
3132 function switchTo(application) {
3233 if (root.application == application) {
@@ -39,8 +40,6 @@ Rectangle {
3940 switchToAnimation.start()
4041 }
4142
42− signal switched()
43−
4443 QtObject {
4544 id: priv
4645 property var newApplication
@@ -48,10 +47,8 @@ Rectangle {
4847
4948 Image {
5049 id: newImage
51− visible: true
5250 anchors.bottom: parent.bottom
5351 width: root.width
54−// height: sourceSize.height
5552 source: priv.newApplication ? priv.newApplication.screenshot : ""
5653 }
5754
@@ -64,7 +61,6 @@ Rectangle {
6461 anchors.bottom: parent.bottom
6562
6663 }
67−// Rectangle { anchors.fill: parent; color: "yellow" }
6864
6965 SequentialAnimation {
7066 id: switchToAnimation