~ssweeny/+junk/nest-webapp

« back to all changes in this revision

Viewing changes to qml/Main.qml

  • Committer: Oliver Grawert
  • Date: 2015-04-18 11:06:48 UTC
  • Revision ID: ogra@ubuntu.com-20150418110648-pabuzr6y3apct1lb
add url handler support

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        target: webview
136
136
        onFullscreenChanged: nav.visible = !webview.fullscreen
137
137
    }
 
138
    Connections {
 
139
        target: UriHandler
 
140
        onOpened: {
 
141
            webview.url = uris[0]
 
142
            console.warn("uri-handler request")
 
143
        }
 
144
    }
138
145
}