summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qprogressbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qprogressbar.cpp')
-rw-r--r--src/widgets/widgets/qprogressbar.cpp2
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)