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

Notify user of extracting process

svn path=/trunk/kdenlive/; revision=5581
parent e927a831
......@@ -677,7 +677,14 @@ void ArchiveWidget::slotArchivingProgress(int p)
void ArchiveWidget::slotStartExtracting()
{
if (m_archiveThread.isRunning()) {
//TODO: abort extracting
return;
}
KIO::NetAccess::mkdir(archive_url->url().path(KUrl::RemoveTrailingSlash), this);
icon_info->setPixmap(KIcon("system-run").pixmap(16, 16));
text_info->setText(i18n("Extracting..."));
buttonBox->button(QDialogButtonBox::Apply)->setText(i18n("Abort"));
m_archiveThread = QtConcurrent::run(this, &ArchiveWidget::doExtracting);
}
......
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