diff options
author | Zeno Albisser <zeno.albisser@digia.com> | 2013-12-23 13:34:43 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-23 18:09:03 +0100 |
commit | bac17d0052f41b44bda4b55997b786fab71735c0 (patch) | |
tree | fc817f19982c4a7753722824290ac13c04f3a725 /examples/quick | |
parent | 7d39fa4acaa38dbaa1977cbff6500f338a59250c (diff) |
quicknanobrowser: reset progress bar when reaching 100%
Change-Id: I146df83948017b5ad72e40d16a8cc7105691c309
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'examples/quick')
-rw-r--r-- | examples/quick/quicknanobrowser/quickwindow.qml | 2 |
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 } } |