Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/code/tools.js
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | 78 | { | |||
---|---|---|---|---|---|
88 | 88 | | |||
89 | break; | 89 | break; | ||
90 | } | 90 | } | ||
91 | } | 91 | } | ||
92 | 92 | | |||
93 | tasksModel.requestActivate(target); | 93 | tasksModel.requestActivate(target); | ||
94 | } | 94 | } | ||
95 | 95 | | |||
96 | function activateTask(index, model, modifiers) { | 96 | function activateTask(index, model, modifiers, task) { | ||
97 | if (modifiers & Qt.ShiftModifier) { | 97 | if (modifiers & Qt.ShiftModifier) { | ||
98 | tasksModel.requestNewInstance(index); | 98 | tasksModel.requestNewInstance(index); | ||
99 | } else if (model.IsGroupParent === true) { | 99 | } else if (model.IsGroupParent === true) { | ||
100 | if ((iconsOnly || modifiers == Qt.ControlModifier) && backend.canPresentWindows()) { | 100 | if ((iconsOnly || modifiers == Qt.ControlModifier) && backend.canPresentWindows()) { | ||
101 | toolTip.hideToolTip(); | 101 | toolTip.hideToolTip(); | ||
102 | tasks.presentWindows(model.LegacyWinIdList); | 102 | tasks.presentWindows(model.LegacyWinIdList); | ||
103 | } else if (groupDialog.visible) { | 103 | } else if (groupDialog.visible) { | ||
104 | groupDialog.visible = false; | 104 | groupDialog.visible = false; | ||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |