Replace emit with Q_EMIT

This commit is contained in:
Jonas Kvinge
2024-08-25 01:06:30 +02:00
parent cb0db8750f
commit 8da616491d
158 changed files with 891 additions and 891 deletions

View File

@@ -253,14 +253,14 @@ void AlbumCoverFetcherSearch::AllProvidersFinished() {
// If we only wanted to do the search then we're done
if (request_.search) {
emit SearchFinished(request_.id, results_);
Q_EMIT SearchFinished(request_.id, results_);
return;
}
// No results?
if (results_.isEmpty()) {
statistics_.missing_images_++;
emit AlbumCoverFetched(request_.id, AlbumCoverImageResult());
Q_EMIT AlbumCoverFetched(request_.id, AlbumCoverImageResult());
return;
}
@@ -402,7 +402,7 @@ void AlbumCoverFetcherSearch::SendBestImage() {
statistics_.missing_images_++;
}
emit AlbumCoverFetched(request_.id, result);
Q_EMIT AlbumCoverFetched(request_.id, result);
}