Commit 034324e0 authored by Matthias Fuchs's avatar Matthias Fuchs
Browse files

Draw overlays even for previews.

parent ccbf81ce
......@@ -645,6 +645,8 @@ void KFilePreviewGenerator::Private::addToPreviewQueue(const KFileItem& item, co
icon = iconEffect->apply(icon, KIconLoader::Desktop, KIconLoader::DisabledState);
KIconLoader::global()->drawOverlays(item.overlays(), icon, KIconLoader::Desktop);
// remember the preview and URL, so that it can be applied to the model
// in KFilePreviewGenerator::dispatchIconUpdateQueue()
ItemInfo preview;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment