|
|
@ -389,6 +389,9 @@ void FileThumbnailView::stopThumbnailUpdate() {
|
|
|
|
if (!d->mThumbnailLoadJob.isNull()) {
|
|
|
|
if (!d->mThumbnailLoadJob.isNull()) {
|
|
|
|
d->mThumbnailLoadJob->kill(false);
|
|
|
|
d->mThumbnailLoadJob->kill(false);
|
|
|
|
d->mThumbnailLoadJob=nullptr;
|
|
|
|
d->mThumbnailLoadJob=nullptr;
|
|
|
|
|
|
|
|
// The job loads image dimensions and this may add extra line to the descriptions, which
|
|
|
|
|
|
|
|
// may mess up the grid, even if the job is canceled, some items may be already updated.
|
|
|
|
|
|
|
|
arrangeItemsInGrid();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -399,6 +402,8 @@ void FileThumbnailView::slotUpdateEnded() {
|
|
|
|
d->mProgressWidget=0L;
|
|
|
|
d->mProgressWidget=0L;
|
|
|
|
|
|
|
|
|
|
|
|
BusyLevelManager::instance()->setBusyLevel( this, BUSY_NONE );
|
|
|
|
BusyLevelManager::instance()->setBusyLevel( this, BUSY_NONE );
|
|
|
|
|
|
|
|
// Besides thumbnails the job loads image dimensions and this may mess up the grid
|
|
|
|
|
|
|
|
arrangeItemsInGrid();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|