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
@@ -649,7 +649,7 @@ void LoadThread::run() {
emit success(); // run in main thread
for (int i=0;i<loaded_media_items.size();i++) {
PreviewGenerator* pg = new PreviewGenerator(loaded_media_items.at(i));
PreviewGenerator::AnalyzeMedia(loaded_media_items.at(i));
}
} else {
if (error_str.isEmpty()) {