QTfrontend/ui/page/pagevideos.cpp
changeset 9107 4dde5fecffe2
parent 9080 9b42757d7e71
child 9160 fc46e75f6b72
child 9163 67334acaaac7
equal deleted inserted replaced
9105:18ebb59c89fe 9107:4dde5fecffe2
   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);