summaryrefslogtreecommitdiffstats
path: root/examples/webview/minibrowser/main.qml
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@theqtcompany.com>2016-02-24 18:55:53 +0100
committerChristian Stromme <christian.stromme@theqtcompany.com>2016-03-02 13:28:27 +0000
commitd245351578234e0149604470aa326241c676ed17 (patch)
treebd736d04bda514459f2c50e05a4508e7721ff9aa /examples/webview/minibrowser/main.qml
parenta4af886068e5b39ed87fda1136916fdcde2799ca (diff)
Fix progress in minibrowser example.
The progress can never be more then 100, so the condition would always be false. Change-Id: Ia75ddd5298d8e0afcc1314d670a656071143c321 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Diffstat (limited to 'examples/webview/minibrowser/main.qml')
-rw-r--r--examples/webview/minibrowser/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webview/minibrowser/main.qml b/examples/webview/minibrowser/main.qml
index 3bb834a..4ca09f1 100644
--- a/examples/webview/minibrowser/main.qml
+++ b/examples/webview/minibrowser/main.qml
@@ -115,7 +115,7 @@ ApplicationWindow {
visible: showProgress
minimumValue: 0
maximumValue: 100
- value: webView.loadProgress > 100 ? 0 : webView.loadProgress
+ value: webView.loadProgress == 100 ? 0 : webView.loadProgress
}
}