Formatting
This commit is contained in:
@@ -142,7 +142,7 @@ void AlbumCoverFetcherSearch::ProviderSearchResults(const int id, const CoverPro
|
||||
void AlbumCoverFetcherSearch::ProviderSearchResults(CoverProvider *provider, const CoverProviderSearchResults &results) {
|
||||
|
||||
CoverProviderSearchResults results_copy(results);
|
||||
for (int i = 0 ; i < results_copy.count() ; ++i) {
|
||||
for (int i = 0; i < results_copy.count(); ++i) {
|
||||
|
||||
results_copy[i].provider = provider->name();
|
||||
results_copy[i].score_provider = provider->quality();
|
||||
|
||||
@@ -47,10 +47,12 @@ void CoverExportRunnable::run() {
|
||||
EmitCoverSkipped();
|
||||
}
|
||||
else {
|
||||
if (dialog_result_.RequiresCoverProcessing())
|
||||
if (dialog_result_.RequiresCoverProcessing()) {
|
||||
ProcessAndExportCover();
|
||||
else
|
||||
}
|
||||
else {
|
||||
ExportCover();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -148,10 +150,12 @@ void CoverExportRunnable::ProcessAndExportCover() {
|
||||
}
|
||||
}
|
||||
|
||||
if (cover.save(new_file))
|
||||
if (cover.save(new_file)) {
|
||||
EmitCoverExported();
|
||||
else
|
||||
}
|
||||
else {
|
||||
EmitCoverSkipped();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user