X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.cpp;h=517e321e7f60acc6826d87f3f36ce113e23256ca;hb=5d4e8497fc4b3681f3024bf8fc8bf4e338fbbdc4;hp=e0d461beb53223e456745b645fdf741c07838b8a;hpb=29ceabd2afc227e0fb8b586c567eeaf7921b542e;p=kdenlive diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e0d461be..517e321e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3897,8 +3897,7 @@ int MainWindow::getNewStuff(const QString &configFile) KNS3::Entry::List entries; #if KDE_IS_VERSION(4,3,80) QPointer dialog = new KNS3::DownloadDialog(configFile); - dialog->exec(); - if (dialog) entries = dialog->changedEntries(); + if (dialog->exec()) entries = dialog->changedEntries(); foreach(const KNS3::Entry & entry, entries) { if (entry.status() == KNS3::Entry::Installed) kDebug() << "// Installed files: " << entry.installedFiles(); @@ -4610,7 +4609,9 @@ void MainWindow::slotArchiveProject() QList list = m_projectList->documentClipList(); QDomDocument doc = m_activeDocument->xmlSceneList(m_projectMonitor->sceneList(), m_projectList->expandedFolders()); ArchiveWidget *d = new ArchiveWidget(m_activeDocument->url().fileName(), doc, list, m_activeTimeline->projectView()->extractTransitionsLumas(), this); - d->exec(); + if (d->exec()) { + m_messageLabel->setMessage(i18n("Archiving project"), OperationCompletedMessage); + } }