Remove Content::path(), add Content::path_summary().
[dcpomatic.git] / src / wx / timeline.cc
index e04d9ee744e94f83f4cf5354cfc6e150f65d5910..0ac9a1d4bb6d513e6fa3bedbfe96eeae66441777 100644 (file)
@@ -162,7 +162,7 @@ private:
                gc->StrokePath (path);
                gc->FillPath (path);
 
-               wxString name = wxString::Format (wxT ("%s [%s]"), std_to_wx (cont->path().filename().string()).data(), type().data());
+               wxString name = wxString::Format (wxT ("%s [%s]"), std_to_wx (cont->path_summary()).data(), type().data());
                wxDouble name_width;
                wxDouble name_height;
                wxDouble name_descent;