equal
deleted
inserted
replaced
506 if (!item->ready()) |
506 if (!item->ready()) |
507 desc += tr("(in progress...)"); |
507 desc += tr("(in progress...)"); |
508 else |
508 else |
509 { |
509 { |
510 QString path = item->path(); |
510 QString path = item->path(); |
511 desc += tr("Date: %1\n").arg(QFileInfo(path).created().toString(Qt::DefaultLocaleLongDate)); |
511 desc += tr("Date: %1").arg(QFileInfo(path).created().toString(Qt::DefaultLocaleLongDate)) + "\n"; |
512 desc += tr("Size: %1\n").arg(FileSizeStr(path)); |
512 desc += tr("Size: %1").arg(FileSizeStr(path)) + "\n"; |
513 if (item->desc.isEmpty()) |
513 if (item->desc.isEmpty()) |
514 { |
514 { |
515 // Extract description from file; |
515 // Extract description from file; |
516 // It will contain duration, resolution, etc and also comment added by hwengine. |
516 // It will contain duration, resolution, etc and also comment added by hwengine. |
517 item->desc = LibavInteraction::instance().getFileInfo(path); |
517 item->desc = LibavInteraction::instance().getFileInfo(path); |