summaryrefslogtreecommitdiffstats
path: root/examples/webengine/quicknanobrowser/ApplicationRoot.qml
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-05-05 11:15:06 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-05-05 11:15:06 +0200
commit028bd20e41fc1995c34ca4c19e5342ff3efe0c6a (patch)
tree71aa1e77a262ba2d2a72dc6ac8f5c5c3a26567f2 /examples/webengine/quicknanobrowser/ApplicationRoot.qml
parent4ea591e7efdb63c26372af4af9507c5f57b42fcc (diff)
parentb24a6419869c14e32e87cb97e529cc25c246b5e0 (diff)
Merge 5.9 into 5.9.0v5.9.0-beta4
Diffstat (limited to 'examples/webengine/quicknanobrowser/ApplicationRoot.qml')
-rw-r--r--examples/webengine/quicknanobrowser/ApplicationRoot.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/webengine/quicknanobrowser/ApplicationRoot.qml b/examples/webengine/quicknanobrowser/ApplicationRoot.qml
index 6735be932..78defab80 100644
--- a/examples/webengine/quicknanobrowser/ApplicationRoot.qml
+++ b/examples/webengine/quicknanobrowser/ApplicationRoot.qml
@@ -70,18 +70,18 @@ QtObject {
onClosing: destroy()
}
function createWindow(profile) {
- var newWindow = browserWindowComponent.createObject(root)
- newWindow.currentWebView.profile = profile
- profile.downloadRequested.connect(newWindow.onDownloadRequested)
- return newWindow
+ var newWindow = browserWindowComponent.createObject(root);
+ newWindow.currentWebView.profile = profile;
+ profile.downloadRequested.connect(newWindow.onDownloadRequested);
+ return newWindow;
}
function createDialog(profile) {
- var newDialog = browserDialogComponent.createObject(root)
- newDialog.currentWebView.profile = profile
- return newDialog
+ var newDialog = browserDialogComponent.createObject(root);
+ newDialog.currentWebView.profile = profile;
+ return newDialog;
}
function load(url) {
- var browserWindow = createWindow(defaultProfile)
- browserWindow.currentWebView.url = url
+ var browserWindow = createWindow(defaultProfile);
+ browserWindow.currentWebView.url = url;
}
}