Skip to content

Commit

Permalink
fix: Use Qt.callLater as an attempt to prevent a plasma crash
Browse files Browse the repository at this point in the history
refs: #41
  • Loading branch information
luisbocanegra committed Oct 2, 2024
1 parent 01a1667 commit ec0184a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions package/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,10 @@ PlasmoidItem {
filterMinimized: true

onActiveTaskChanged: {
updateWindowsinfo()
Qt.callLater(updateWindowsinfo)
}
// onDataChanged: {
// updateWindowsinfo()
// }
onCountChanged: {
updateWindowsinfo()
Qt.callLater(updateWindowsinfo)
}
}

Expand Down

0 comments on commit ec0184a

Please sign in to comment.