~ubuntu-branches/ubuntu/utopic/ubuntu-system-settings/utopic-proposed

« back to all changes in this revision

Viewing changes to wizard/qml/main.qml

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Ken VanDine, Sebastien Bacher, Mathieu Trudel-Lapierre, Michael Terry
  • Date: 2014-09-09 16:40:09 UTC
  • mfrom: (1.1.165)
  • Revision ID: package-import@ubuntu.com-20140909164009-suc8v816kz1r7qi4
Tags: 0.3+14.10.20140909-0ubuntu1
[ Ken VanDine ]
* Notify the user if the phone needs to be plug to power for update.

[ Sebastien Bacher ]
* [system-update] don't draw a frame around ubuntu updates (LP:
  #1367136)

[ Mathieu Trudel-Lapierre ]
* Also allow Speakers and Carkits as valid audio devices to pair.

[ Michael Terry ]
* Allow switch from PIN code to passphrase and back using the same
  password. (LP: #1357043) (LP: #1357043)
* Fix false-negatives from AccountsService when switching from swipe
  to password (LP: #1363405) (LP: #1363405)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        // Immediately go to black to give quick feedback
47
47
        blackCover.visible = true
48
48
 
49
 
        // Ignore any errors, since we're past where the user set the
50
 
        // method.  Worst case, we just leave the user with a swipe
51
 
        // security method and they fix it in the system settings.
52
 
        securityPrivacy.setSecurity("", password, passwordMethod)
 
49
        var errorMsg = securityPrivacy.setSecurity("", password, passwordMethod)
 
50
        if (errorMsg !== "") {
 
51
            // Ignore (but log) any errors, since we're past where the user set
 
52
            // the method.  Worst case, we just leave the user with a swipe
 
53
            // security method and they fix it in the system settings.
 
54
            console.log("Error setting security method:", errorMsg)
 
55
        }
53
56
 
54
57
        Qt.quit()
55
58
    }