Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/Task.qml
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 31 | MouseArea { | |||
---|---|---|---|---|---|
63 | 63 | | |||
64 | onIsWindowChanged: { | 64 | onIsWindowChanged: { | ||
65 | if (isWindow) { | 65 | if (isWindow) { | ||
66 | taskInitComponent.createObject(task); | 66 | taskInitComponent.createObject(task); | ||
67 | } | 67 | } | ||
68 | } | 68 | } | ||
69 | 69 | | |||
70 | onChildCountChanged: { | 70 | onChildCountChanged: { | ||
71 | if (!childCount && groupDialog.visualParent == task) { | ||||
72 | groupDialog.visible = false; | ||||
73 | | ||||
74 | return; | ||||
75 | } | ||||
76 | | ||||
71 | if (containsMouse) { | 77 | if (containsMouse) { | ||
72 | groupDialog.activeTask = null; | 78 | groupDialog.activeTask = null; | ||
73 | } | 79 | } | ||
74 | 80 | | |||
75 | if (childCount > previousChildCount) { | 81 | if (childCount > previousChildCount) { | ||
76 | tasksModel.requestPublishDelegateGeometry(modelIndex(), backend.globalRect(task), task); | 82 | tasksModel.requestPublishDelegateGeometry(modelIndex(), backend.globalRect(task), task); | ||
77 | } | 83 | } | ||
78 | 84 | | |||
▲ Show 20 Lines • Show All 408 Lines • Show Last 20 Lines |