Remove unused method.
[dcpomatic.git] / src / lib / dcp_content_type.cc
index 03c1bf59ff207638f4ce018297ddfe68a7e5f891..b2455ba21b8f6f316524b976e12116262e44e2f9 100644 (file)
@@ -55,18 +55,6 @@ DCPContentType::setup_dcp_content_types ()
        _dcp_content_types.push_back (new DCPContentType (_("Advertisement"), dcp::ADVERTISEMENT, N_("ADV")));
 }
 
-DCPContentType const *
-DCPContentType::from_pretty_name (string n)
-{
-       for (vector<DCPContentType const *>::const_iterator i = _dcp_content_types.begin(); i != _dcp_content_types.end(); ++i) {
-               if ((*i)->pretty_name() == n) {
-                       return *i;
-               }
-       }
-
-       return 0;
-}
-
 DCPContentType const *
 DCPContentType::from_isdcf_name (string n)
 {