[PictureLoader] Fix status bar not updating (#6023)

* [PictureLoader] Fix status bar not updating

* rename methods
This commit is contained in:
RickyRister 2025-07-05 20:14:46 -07:00 committed by GitHub
parent 0b9b39fef7
commit 686e90d0ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 6 deletions

View file

@ -36,8 +36,8 @@ PictureLoader::PictureLoader() : QObject(nullptr)
mainWindow->statusBar()->addPermanentWidget(statusBar);
}
connect(worker, &PictureLoaderWorker::imageLoadQueued, statusBar, &PictureLoaderStatusBar::addQueuedImageLoad);
connect(worker, &PictureLoaderWorker::imageLoadSuccessful, statusBar,
connect(worker, &PictureLoaderWorker::imageRequestQueued, statusBar, &PictureLoaderStatusBar::addQueuedImageLoad);
connect(worker, &PictureLoaderWorker::imageRequestSucceeded, statusBar,
&PictureLoaderStatusBar::addSuccessfulImageLoad);
}