summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/quicknanobrowser/quickwindow.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/quick/quicknanobrowser/quickwindow.qml b/examples/quick/quicknanobrowser/quickwindow.qml
index bec301e6d..7ec4fc021 100644
--- a/examples/quick/quicknanobrowser/quickwindow.qml
+++ b/examples/quick/quicknanobrowser/quickwindow.qml
@@ -82,6 +82,10 @@ ApplicationWindow {
iconSource: webEngineView.loading ? "icons/process-stop.png" : "icons/view-refresh.png"
onClicked: webEngineView.reload()
}
+ Image {
+ id: faviconImage
+ width: 16; height: 16
+ }
TextField {
id: addressBar
focus: true
@@ -99,5 +103,6 @@ ApplicationWindow {
url: utils.initialUrl()
onUrlChanged: addressBar.text = url
+ onIconChanged: faviconImage.source = url
}
}