Rebuild progress_indicator when switching to/from qt5