Skip to content
Browse files
Make non progress reporting tasks have undefined bars instead of 0%
  • Loading branch information
mbernasocchi authored and nyalldawson committed Jun 21, 2018
1 parent 6a6a8dd commit df56fdceace44647d1f1e52b5f20922ff5a08735
Showing 1 changed file with 1 addition and 0 deletions.
@@ -78,6 +78,7 @@ void QgsTaskManagerWidget::modelRowsInserted( const QModelIndex &, int start, in

QProgressBar *progressBar = new QProgressBar();
progressBar->setAutoFillBackground( true );
progressBar->setRange(0, 0);
connect( task, &QgsTask::progressChanged, progressBar, [progressBar]( double progress )
//until first progress report, we show a progress bar of interderminant length

0 comments on commit df56fdc

Please sign in to comment.