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
@@ -832,7 +832,7 @@ void Project::process_file_list(QStringList& files, bool recursive, Media* repla
for (int i=0;i<last_imported_media.size();i++) {
// generate waveform/thumbnail in another thread
PreviewGenerator* pg = new PreviewGenerator(last_imported_media.at(i));
PreviewGenerator::AnalyzeMedia(last_imported_media.at(i));
}
} else {
delete ca;