Commit 89a08418 authored by David Edmundson's avatar David Edmundson

Remove implicit use of QtQml in Qt 5.7

Summary:
The Plasma 5.8 branch should work with Qt 5.6.
This means we don't have the Connections enabled property available.

This moves the enabling logic into the handler.

BUG: 380240

Test Plan:
Ran Plasma 5.7
Grouped some things
Created a popup
Moved mouse to another task
Seemed normal

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D6007
parent 44d05946
......@@ -165,11 +165,12 @@ Item {
}
Connections {
enabled: plasmoid.configuration.groupPopups
target: tasksModel
onActiveTaskChanged: {
if (!plasmoid.configuration.groupPopups) {
return;
}
if (tasksModel.activeTask.parent.valid) {
groupDialog.activeTask = tasksModel.activeTask;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment