~osomon/webbrowser-app/fix-1632620-sound-yakkety

« back to all changes in this revision

Viewing changes to src/app/webcontainer/ContextMenuMobile.qml

* Change use of ActionList.actions to ActionList.children and use modelData in Repeaters (LP: #1624470)

Approved by: Olivier Tilloy

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    }
91
91
 
92
92
    Repeater {
93
 
        model: actions.actions
 
93
        model: actions.children
94
94
        delegate: ListItems.Empty {
95
 
            action: actions.actions[index]
 
95
            action: modelData
96
96
            objectName: action.objectName + "_item"
97
97
            visible: action.enabled
98
98
            showDivider: false