From 07b893f8cf182bd64748e3f1db6e602f32dd98f9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Mon, 17 Sep 2012 13:01:53 +0200 Subject: [PATCH] Fix archiving problems including: http://kdenlive.org/mantis/view.php?id=2739 --- src/archivewidget.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/archivewidget.cpp b/src/archivewidget.cpp index 4a99f759..19f28437 100644 --- a/src/archivewidget.cpp +++ b/src/archivewidget.cpp @@ -532,7 +532,6 @@ bool ArchiveWidget::slotStartArchiving(bool firstPass) int items = 0; // We parse all files going into one folder, then start the copy job - for (int i = 0; i < files_list->topLevelItemCount(); i++) { parentItem = files_list->topLevelItem(i); if (parentItem->isDisabled()) { @@ -590,7 +589,7 @@ bool ArchiveWidget::slotStartArchiving(bool firstPass) if (items == 0) { // No clips to archive - if (isArchive) slotArchivingFinished(NULL, true); + slotArchivingFinished(NULL, true); return true; } @@ -914,7 +913,7 @@ void ArchiveWidget::slotExtractingFinished() error = true; } else { - QString playList = file.readAll(); + QString playList = QString::fromUtf8(file.readAll()); file.close(); if (playList.isEmpty()) { error = true; -- 2.39.5