Skip to content

Commit

Permalink
Swap ContextMenu::show with ContextMenu::open
Browse files Browse the repository at this point in the history
ContextMenu::show is deprecated in Sailfish Silica package 0.25.6 (Dec 2017), use ContextMenu::open instead
  • Loading branch information
olpeh committed Sep 10, 2019
1 parent c921cd4 commit 61313ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qml/pages/All.qml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Page {
contextMenu = contextMenuComponent.createObject(listView)
}

contextMenu.show(myListItem)
contextMenu.open(myListItem)
}

Rectangle {
Expand Down
2 changes: 1 addition & 1 deletion qml/pages/Projects.qml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Page {
contextMenu = contextMenuComponent.createObject(listView)
}

contextMenu.show(myListItem)
contextMenu.open(myListItem)
}
}

Expand Down

0 comments on commit 61313ac

Please sign in to comment.