summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2013-12-23 13:34:43 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-23 18:09:03 +0100
commitbac17d0052f41b44bda4b55997b786fab71735c0 (patch)
treefc817f19982c4a7753722824290ac13c04f3a725
parent7d39fa4acaa38dbaa1977cbff6500f338a59250c (diff)
quicknanobrowser: reset progress bar when reaching 100%
Change-Id: I146df83948017b5ad72e40d16a8cc7105691c309 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-rw-r--r--examples/quick/quicknanobrowser/quickwindow.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/quicknanobrowser/quickwindow.qml b/examples/quick/quicknanobrowser/quickwindow.qml
index 7ef33c14e..b99b6ff25 100644
--- a/examples/quick/quicknanobrowser/quickwindow.qml
+++ b/examples/quick/quicknanobrowser/quickwindow.qml
@@ -139,7 +139,7 @@ ApplicationWindow {
z: -2;
minimumValue: 0
maximumValue: 100
- value: tabs.currentView && tabs.currentView.loadProgress
+ value: (tabs.currentView && tabs.currentView.loadProgress < 100) ? tabs.currentView.loadProgress : 0
}
}