Commit 52cbbd80 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

ExtractJob: set destination URL in the job description

The plasma notification applet looks for it for the "Open" button within
the notification. If it doesn't find it, it falls back to the archive
URL which is not what one would expect.

BUG: 385043
FIXED-IN: 17.11.90

Differential Revision: D8861
parent ae758226
......@@ -500,7 +500,7 @@ void ExtractJob::doWork()
} else {
desc = i18np("Extracting one file", "Extracting %1 files", m_entries.count());
}
emit description(this, desc, qMakePair(i18n("Archive"), archiveInterface()->filename()));
emit description(this, desc, qMakePair(i18n("Archive"), archiveInterface()->filename()), qMakePair(i18nc("extraction folder", "Destination"), m_destinationDir));
QFileInfo destDirInfo(m_destinationDir);
if (destDirInfo.isDir() && (!destDirInfo.isWritable() || !destDirInfo.isExecutable())) {
......
Markdown is supported
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