Commit a391cdff authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

speechdialog: Fix url for archive extract job

parent 882bc066
Pipeline #50079 passed with stage
in 10 minutes and 57 seconds
......@@ -182,7 +182,7 @@ void SpeechDialog::processArchive(KJob* job)
if (jb) {
qDebug()<<"=== JOB FOUND!!";
QMimeDatabase db;
QString archiveFile = jb->destUrl().path();
QString archiveFile = jb->destUrl().toLocalFile();
QMimeType type = db.mimeTypeForFile(archiveFile);
std::unique_ptr<KArchive> archive;
if (type.inherits(QStringLiteral("application/zip"))) {
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