chore(format): format files that were unformatted
C++ / fmt (pull_request) Successful in 13s
C++ / build & lint (pull_request) Canceled after 14s
JS/TS / fmt & lint (pull_request) Canceled after 7s
Python / fmt & lint (pull_request) Canceled after 12s
Python / test & nuitka build (pull_request) Canceled after 8s
Rust / clippy & fmt (pull_request) Canceled after 0s
C++ / fmt (pull_request) Successful in 13s
C++ / build & lint (pull_request) Canceled after 14s
JS/TS / fmt & lint (pull_request) Canceled after 7s
Python / fmt & lint (pull_request) Canceled after 12s
Python / test & nuitka build (pull_request) Canceled after 8s
Rust / clippy & fmt (pull_request) Canceled after 0s
This commit is contained in:
@@ -653,7 +653,8 @@ void WallpaperDb::queueMetadata(
|
||||
existingCache.isEmpty() ? "" : ", existing blob");
|
||||
|
||||
m_queue.append(
|
||||
MetadataJob{entry, entry->path(), isVideo, existingCache, existingPoster});
|
||||
MetadataJob{
|
||||
entry, entry->path(), isVideo, existingCache, existingPoster});
|
||||
|
||||
if (!m_queueTimer.isActive()) {
|
||||
m_queueTimer.start();
|
||||
@@ -771,8 +772,8 @@ void WallpaperDb::runMetadataJob(const MetadataJob& job) {
|
||||
|
||||
QByteArray poster = job.existingPoster;
|
||||
if (poster.isEmpty()) {
|
||||
poster =
|
||||
job.isVideo ? videoPosterBytes(job.path, cacheSize) : cache;
|
||||
poster = job.isVideo ? videoPosterBytes(job.path, cacheSize)
|
||||
: cache;
|
||||
}
|
||||
|
||||
result.cache = cache;
|
||||
|
||||
Reference in New Issue
Block a user