]> git.sesse.net Git - kdenlive/commitdiff
Fix archiving problems including: http://kdenlive.org/mantis/view.php?id=2739
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 17 Sep 2012 11:01:53 +0000 (13:01 +0200)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 17 Sep 2012 11:01:53 +0000 (13:01 +0200)
src/archivewidget.cpp

index 4a99f759ac0883c5d546a9b70eb5f8bf555bb556..19f28437288d30a6a2a8702dd22352ce605b807f 100644 (file)
@@ -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;