Skip to content
Commit e6ee46cd authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Mark the file downloaded from a blob as temporary

When emitting the BrowserExtension::openUrlRequest for the file a blob
URL was downloaded to, add an entry to
KParts::OpenArgumentRequest::metaData. This entry is taken into account
by KonqMainWindow::openUrlRequestHelper which will set the tempFile flag
of the KonqOpenUrlRequest it creates to true.

This way, if the file is opened in Konqueror, it's deleted when the
corresponding tab does. It doesn't have any effect if the file is opened
in an external application.
parent affaab82
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