summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/library/coverart.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/library/coverart.cpp b/src/library/coverart.cpp
index 4e2e1ded37..491dbbe139 100644
--- a/src/library/coverart.cpp
+++ b/src/library/coverart.cpp
@@ -121,11 +121,14 @@ QImage CoverInfo::loadImage(
}
DEBUG_ASSERT(coverFile.isAbsolute());
if (!coverFile.exists()) {
- kLogger.warning()
- << "loadImage"
- << type
- << "cover does not exist:"
- << coverFile.filePath();
+ // Disabled because this code can cause high CPU and thus possibly
+ // xruns as it might print the warning repeatedly.
+ // ToDo: Print warning about missing cover image only once.
+ // kLogger.warning()
+ // << "loadImage"
+ // << type
+ // << "cover does not exist:"
+ // << coverFile.filePath();
return QImage();
}
SecurityTokenPointer pToken =