diff --git a/io/loadthread.cpp b/io/loadthread.cpp index 7738c23df..fae123a19 100644 --- a/io/loadthread.cpp +++ b/io/loadthread.cpp @@ -649,7 +649,7 @@ void LoadThread::run() { emit success(); // run in main thread for (int i=0;iprocess_file_list(files, false, item, nullptr); - PreviewGenerator* pg = new PreviewGenerator(item); + PreviewGenerator::AnalyzeMedia(item); } void ReplaceMediaCommand::doUndo() { diff --git a/ui/menuhelper.h b/ui/menuhelper.h index 2f6ddea49..4d7c1cf8b 100644 --- a/ui/menuhelper.h +++ b/ui/menuhelper.h @@ -220,6 +220,6 @@ namespace olive { * @brief A global MenuHelper object to assist menu creation throughout Olive. */ extern MenuHelper MenuHelper; -} +}; #endif // MENUHELPER_H