Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/code/tools.js
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | |||||
94 | } | 94 | } | ||
95 | 95 | | |||
96 | function activateTask(index, model, modifiers, task) { | 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 | task.toolTipAreaItem.hideToolTip(); | 101 | task.toolTipAreaItem.hideToolTip(); | ||
102 | tasks.presentWindows(model.LegacyWinIdList); | 102 | tasks.presentWindows(model.WinIdList); | ||
103 | } else if (groupDialog.visible) { | 103 | } else if (groupDialog.visible) { | ||
104 | groupDialog.visible = false; | 104 | groupDialog.visible = false; | ||
105 | } else { | 105 | } else { | ||
106 | groupDialog.visualParent = task; | 106 | groupDialog.visualParent = task; | ||
107 | groupDialog.visible = true; | 107 | groupDialog.visible = true; | ||
108 | } | 108 | } | ||
109 | } else { | 109 | } else { | ||
110 | if (model.IsMinimized === true) { | 110 | if (model.IsMinimized === true) { | ||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |