~ken-vandine/address-book-app/oop_peer_picker

« back to all changes in this revision

Viewing changes to src/imports/Ubuntu/AddressBook/ContactEditor/AvatarImport.qml

  • Committer: Ken VanDine
  • Date: 2016-12-08 16:58:47 UTC
  • Revision ID: ken.vandine@canonical.com-20161208165847-gu8yixcixooveesf
Dropped the done variable as it's no longer used

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        id: signalConnections
44
44
 
45
45
        onStateChanged: {
46
 
            var done = ((avatarImport.activeTransfer.state === ContentTransfer.Charged) ||
47
 
                        (avatarImport.activeTransfer.state === ContentTransfer.Aborted))
48
 
 
49
46
            if (avatarImport.activeTransfer.state === ContentTransfer.Charged) {
50
47
                if (avatarImport.activeTransfer.items.length > 0) {
51
48
                    avatarImport.avatarReceived(avatarImport.activeTransfer.items[0].url)