}
for (auto i: notes) {
- error_dialog (0, std_to_wx(i));
+ error_dialog (nullptr, std_to_wx(i));
}
set_film (film);
- JobManager::instance()->add(shared_ptr<Job>(new CheckContentChangeJob(film)));
+ JobManager::instance()->add(make_shared<CheckContentChangeJob>(film));
}
catch (FileNotFoundError& e) {
auto const dir = e.file().parent_path();