~artmello/ubuntu-system-settings/category-list-view

« back to all changes in this revision

Viewing changes to plugins/wifi/PreviousNetworks.qml

  • Committer: Bileto Bot
  • Author(s): Jonas G. Drange
  • Date: 2017-01-12 12:48:46 UTC
  • mfrom: (1741.1.28 apl)
  • Revision ID: ci-train-bot@canonical.com-20170112124846-0rsokgs0jy7j9rqv
migrates uss to apl

Approved by: Ken VanDine, system-apps-ci-bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    id: previousNetworks
26
26
    objectName: "previousNetworksPage"
27
27
    title: i18n.tr("Previous networks")
 
28
    flickable: networkList
28
29
 
29
30
    PreviousNetworkModel {
30
31
        id: pnmodel
56
57
        }
57
58
        delegate: SettingsListItems.StandardProgression {
58
59
            text: name
59
 
            onClicked: {
60
 
                pageStack.push(Qt.resolvedUrl("NetworkDetails.qml"),
61
 
                {networkName : name, password : password, lastUsed : lastUsed,
62
 
                dbusPath : objectPath});
63
 
            }
 
60
            onClicked: pageStack.addPageToNextColumn(previousNetworks,
 
61
                Qt.resolvedUrl("NetworkDetails.qml"), {
 
62
                    networkName : name, password : password,
 
63
                    lastUsed : lastUsed, dbusPath : objectPath
 
64
                }
 
65
            )
64
66
        }
65
67
    }
66
68
}