Commit 6795ae7f authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix previewing embedded files on Windows

BUGS: 448735
parent 44c86de7
Pipeline #125693 passed with stage
in 28 minutes and 5 seconds
......@@ -178,7 +178,7 @@ void EmbeddedFilesDialog::viewFile(Okular::EmbeddedFile *ef)
// view the temporary file with the default application
new KRun(QUrl("file://" + tmpFile->fileName()), this);
new KRun(QUrl::fromLocalFile(tmpFile->fileName()), this);
void EmbeddedFilesDialog::saveFile(Okular::EmbeddedFile *ef)
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