diff --git a/src/QProgressIndicator.cpp b/src/QProgressIndicator.cpp index 07cd9c9..b11a1f9 100644 --- a/src/QProgressIndicator.cpp +++ b/src/QProgressIndicator.cpp @@ -44,6 +44,7 @@ void QProgressIndicator::paintEvent(QPaintEvent* e) { if (!_timer->isActive()) { _angle = 0; _scale = 0.0f; + return; // Draw nothing when stopped. stop() expects the indicator to be erased from the view. } QPainter painter(this);