|
@@ -42,7 +42,7 @@ ArgDialog::ArgDialog(QWidget *parent) : QDialog(parent), ui(new Ui::ArgDialog),
|
|
|
m_task->setArgument("is_video", true);
|
|
|
QString preview_filename = FileUtils::generatePreview(file_path, file_name);
|
|
|
|
|
|
- auto preview_file_path = QCoreApplication::applicationDirPath()
|
|
|
+ QString preview_file_path = QCoreApplication::applicationDirPath()
|
|
|
+ "/assets/previews/" + preview_filename;
|
|
|
file.setFileName(preview_file_path);
|
|
|
if (file.open(QIODevice::ReadOnly)) {
|