mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-29 20:54:45 +00:00
Fix previewing embedded files on Windows
BUGS: 448735
This commit is contained in:
parent
44c86de7e4
commit
6795ae7f2c
|
@ -178,7 +178,7 @@ void EmbeddedFilesDialog::viewFile(Okular::EmbeddedFile *ef)
|
|||
m_openedFiles.push_back(QSharedPointer<QTemporaryFile>(tmpFile));
|
||||
|
||||
// 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)
|
||||
|
|
Loading…
Reference in a new issue