path: root/src/widgets
diff options
authorNico Vertriest <>2015-03-05 15:28:50 +0100
committerNico Vertriest <>2015-03-09 10:37:56 +0000
commit6c099c21283f19c7127f6588a784a3bd68975899 (patch)
treeefd4d5f0169bc27194ff48006c04c5ae52717cbb /src/widgets
parent162c116948e8a7705979d1d0f0d5e4f6a2acb389 (diff)
Doc: added doc QProgressBar about undeterm. state
Task-number: QTBUG-43345 Change-Id: Ie8bda9dbe0ca2f713451f3ec2f68467a064f7f2c Reviewed-by: Topi Reiniƶ <>
Diffstat (limited to 'src/widgets')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/widgets/qprogressbar.cpp b/src/widgets/widgets/qprogressbar.cpp
index 6bc44f06fe..8034a0237a 100644
--- a/src/widgets/widgets/qprogressbar.cpp
+++ b/src/widgets/widgets/qprogressbar.cpp
@@ -347,6 +347,8 @@ int QProgressBar::value() const
If the current value falls outside the new range, the progress bar is reset
with reset().
+ The QProgressBar can be set to undetermined state by using setRange(0, 0).
\sa minimum, maximum
void QProgressBar::setRange(int minimum, int maximum)