Skip to content

Commit

Permalink
Don't use deprecated onFoo property syntax
Browse files Browse the repository at this point in the history
Fixes:
`QML Connections: Implicitly defined onFoo properties in Connections
are deprecated. Use this syntax instead: function onFoo(<arguments>) {
... }`

Signed-off-by: Björn Bidar <[email protected]>
  • Loading branch information
Thaodan committed Apr 26, 2024
1 parent a4413f3 commit 9ded353
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plasmoid/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ PlasmoidItem {

Connections {
target : plasmoid.configuration
onFilterByCurrentScreenChanged : {
function onFilterByCurrentScreenChanged() {
i3pager.updateWorkspaces();
}
onOrderWorkspacesByChanged : {
function onOrderWorkspacesByChanged() {
i3pager.updateWorkspaces();
}
onScreenNameListChanged : {
function onScreenNameListChanged() {
i3pager.updateWorkspaces();
}
onIndicatorPositionChanged : {
function onIndicatorPositionChanged() {
i3pager.updateWorkspaces();
}
}
Expand Down

0 comments on commit 9ded353

Please sign in to comment.