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()) {
if (items == 0) {
// No clips to archive
- if (isArchive) slotArchivingFinished(NULL, true);
+ slotArchivingFinished(NULL, true);
return true;
}
error = true;
}
else {
- QString playList = file.readAll();
+ QString playList = QString::fromUtf8(file.readAll());
file.close();
if (playList.isEmpty()) {
error = true;