| 132 | } |
| 133 | |
| 134 | void FilterDockWidget::stopProgressTracking() { |
| 135 | if (_currentSelection) { |
| 136 | std::shared_ptr<ImageFilterPluginInterface> filter = _currentSelection->data(Qt::UserRole).value<std::shared_ptr<ImageFilterPluginInterface> >(); |
| 137 | if (filter) { |
| 138 | filter->setProgressMonitor(NULL); |
| 139 | } |
| 140 | _progressBar->setValue(0); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | void FilterDockWidget::onNewImageLoaded(MultiResolutionImage* img) { |
| 145 | if (_availableFilters) { |
nothing calls this directly
no test coverage detected