~ssweeny/+junk/nest-webapp

« back to all changes in this revision

Viewing changes to qml/Main.qml

  • Committer: Oliver Grawert
  • Date: 2015-05-04 08:11:26 UTC
  • Revision ID: ogra@ubuntu.com-20150504081126-5oyc256n9rbw6pwy
add check for length of url-handler args

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
    Connections {
164
164
        target: UriHandler
165
165
        onOpened: {
 
166
            if (uris.length === 0 ) {
 
167
                return;
 
168
            }
166
169
            webview.url = uris[0]
167
170
            console.warn("uri-handler request")
168
171
        }