~dobey/ubuntu-printing-app/add-notifier-daemon

« back to all changes in this revision

Viewing changes to ubuntu-printing-app/pages/ContentPeerPickerPage.qml

  • Committer: Rodney Dawes
  • Date: 2017-03-17 17:55:52 UTC
  • mfrom: (23.2.3 ubuntu-printing-app)
  • Revision ID: rodney.dawes@canonical.com-20170317175552-267wu0f58hf7mzbz
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
    Connections {
131
131
        target: picker.curTransfer
132
132
        onStateChanged: {
133
 
            // TODO: pop when charged or collected?
134
133
            if (picker.curTransfer.state === ContentTransfer.Collected) {
135
 
                picker.pageStack.pop();
 
134
                Qt.quit();
136
135
            }
137
136
        }
138
137
    }