summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-04-30 16:54:36 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-05-17 07:22:52 +0000
commit0d330addcf37820e516737167bf174d2c35c4010 (patch)
tree6df134ed7b662dc037782f2026bbc19fa53407d7 /examples
parent404c601c31cc6bca25c5008c5b7ce7a0c4d065ba (diff)
Fix warning in debug build for quicknanobrowser
Fixes qrc:/BrowserWindow.qml:293:25: QML MenuItem: Binding loop detected for property "checked" Change-Id: Ieac5e70af063c841a963a9c377a5fdf3cde8c7ac Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/webengine/quicknanobrowser/BrowserWindow.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webengine/quicknanobrowser/BrowserWindow.qml b/examples/webengine/quicknanobrowser/BrowserWindow.qml
index fc9cd0253..f60d6ad1f 100644
--- a/examples/webengine/quicknanobrowser/BrowserWindow.qml
+++ b/examples/webengine/quicknanobrowser/BrowserWindow.qml
@@ -294,7 +294,7 @@ ApplicationWindow {
id: offTheRecordEnabled
text: "Off The Record"
checkable: true
- checked: currentWebView.profile.offTheRecord
+ checked: currentWebView.profile === otrProfile
onToggled: function(checked) {
currentWebView.profile = checked ? otrProfile : defaultProfile;
}