Fix assertion failure on opening content properties (#816).
[dcpomatic.git] / src / lib / content.cc
index 2c89f7c346ffdb93374163f7cd4e6efdb19704d1..724cabb6c6ce28f4bf1d5057e08dc062ab07b525 100644 (file)
@@ -277,13 +277,11 @@ Content::path_summary () const
        return s;
 }
 
-/** @return a list of properties that might be interesting to the user; first string is the property name,
- *  second is the value.
- */
-list<pair<string, string> >
-Content::properties () const
+/** @return a list of properties that might be interesting to the user */
+list<Content::UserProperty>
+Content::user_properties () const
 {
-       list<pair<string, string> > p;
+       list<UserProperty> p;
        add_properties (p);
        return p;
 }