changed preview generator functions to a static function
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user