remove unised active property

This commit is contained in:
Marco Martin 2014-11-28 19:19:26 +01:00
parent 2d822299f1
commit dcf39fe34e

View file

@ -168,7 +168,6 @@ Rectangle {
MouseArea {
id: taskSwitchEdge
z: 1000
property bool active
anchors {
left: parent.left
right: parent.right
@ -178,7 +177,6 @@ Rectangle {
enabled: windowsLayout.children.length > 0
property int oldX: 0
onPressed: {
active = true;
oldX = mouse.x;
}
onPositionChanged: {
@ -191,7 +189,6 @@ Rectangle {
oldX = mouse.x;
}
onReleased: {
active = false
if (windowsLayout.scale > 0.7) {
compositorRoot.state = compositorRoot.currentWindow ? "application" : "homeScreen";
}