Commit d22df8f6 authored by Yari Polla's avatar Yari Polla Committed by Devin Lin
Browse files

taskswitcher: avoid double binding in thumbnail

parent a462ad42
......@@ -11,13 +11,8 @@ import QtQuick.Window 2.2
import org.kde.taskmanager 0.1 as TaskManager
TaskManager.PipeWireSourceItem {
id: root
visible: false
nodeId: waylandItem.nodeId
// Visible only if casting has begun
onNodeIdChanged: {
visible = true;
}
readonly property string uuid: waylandItem.uuid
......@@ -30,6 +25,12 @@ TaskManager.PipeWireSourceItem {
TaskManager.ScreencastingRequest {
id: waylandItem
uuid: ""
// Visible only if casting has begun
onNodeIdChanged: {
root.nodeId = nodeId;
root.visible = true;
}
}
}
......
Supports Markdown
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