s/use_template/take_settings_from/g
[dcpomatic.git] / src / lib / film.cc
index 392bb221b021efc1fe16e44c01d53b7aa9df2735..f57b6299dfd551cb99756ee4251fccf96747654c 100644 (file)
@@ -1087,7 +1087,7 @@ Film::add_content (shared_ptr<Content> c)
                /* Take settings from the first piece of content of c's type in _template */
                BOOST_FOREACH (shared_ptr<Content> i, _template_film->content()) {
                        if (typeid(i.get()) == typeid(c.get())) {
-                               c->use_template (i);
+                               c->take_settings_from (i);
                        }
                }
        }