changed preview generator functions to a static function

This commit is contained in:
itsmattkc
2019-02-25 22:07:19 -08:00
parent 47d0065eff
commit a1455ce9c7
6 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -528,7 +528,7 @@ void ReplaceMediaCommand::replace(QString& filename) {
QStringList files;
files.append(filename);
panel_project->process_file_list(files, false, item, nullptr);
PreviewGenerator* pg = new PreviewGenerator(item);
PreviewGenerator::AnalyzeMedia(item);
}
void ReplaceMediaCommand::doUndo() {