Skip to content
Commit 5e0b6cbf authored by Andrew Gunnerson's avatar Andrew Gunnerson Committed by Méven Car
Browse files

PreviewJob: Add file extension to thumbnail temp files

Previously, when previewing remote files, kio would create a local copy
of the file using QTemporaryFile's default template. This would result
in filenames, like /tmp/dolphin.XXXXXX. However, some thumbnail plugins,
like kdegraphics-thumbnailers' libkdcraw thumbnailer, require the file
extension to be valid in order to produce a preview.

This commit updates the temp file's naming template to include the
original file extension (if any).

BUG: 463989



Signed-off-by: default avatarAndrew Gunnerson <accounts+kde@chiller3.com>
parent 8886810e
Pipeline #676642 passed with stage
in 10 minutes and 21 seconds
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