diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2016-02-24 18:55:53 +0100 |
---|---|---|
committer | Christian Stromme <christian.stromme@theqtcompany.com> | 2016-03-02 13:28:27 +0000 |
commit | d245351578234e0149604470aa326241c676ed17 (patch) | |
tree | bd736d04bda514459f2c50e05a4508e7721ff9aa | |
parent | a4af886068e5b39ed87fda1136916fdcde2799ca (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>
-rw-r--r-- | examples/webview/minibrowser/main.qml | 2 |
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 } } |