Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/main.qml
Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Line(s) | 157 | Component.onCompleted: { | |||
---|---|---|---|---|---|
160 | groupingLauncherUrlBlacklist = plasmoid.configuration.groupingLauncherUrlBlacklist; | 160 | groupingLauncherUrlBlacklist = plasmoid.configuration.groupingLauncherUrlBlacklist; | ||
161 | 161 | | |||
162 | // Only hook up view only after the above churn is done. | 162 | // Only hook up view only after the above churn is done. | ||
163 | taskRepeater.model = tasksModel; | 163 | taskRepeater.model = tasksModel; | ||
164 | } | 164 | } | ||
165 | } | 165 | } | ||
166 | 166 | | |||
167 | Connections { | 167 | Connections { | ||
168 | enabled: plasmoid.configuration.groupPopups | | |||
169 | | ||||
170 | target: tasksModel | 168 | target: tasksModel | ||
171 | 169 | | |||
172 | onActiveTaskChanged: { | 170 | onActiveTaskChanged: { | ||
171 | if (!plasmoid.configuration.groupPopups) { | ||||
172 | return; | ||||
173 | } | ||||
173 | if (tasksModel.activeTask.parent.valid) { | 174 | if (tasksModel.activeTask.parent.valid) { | ||
174 | groupDialog.activeTask = tasksModel.activeTask; | 175 | groupDialog.activeTask = tasksModel.activeTask; | ||
175 | } | 176 | } | ||
176 | } | 177 | } | ||
177 | } | 178 | } | ||
178 | 179 | | |||
179 | TaskManager.VirtualDesktopInfo { | 180 | TaskManager.VirtualDesktopInfo { | ||
180 | id: virtualDesktopInfo | 181 | id: virtualDesktopInfo | ||
▲ Show 20 Lines • Show All 248 Lines • Show Last 20 Lines |