[vlmc-devel] commit: Clip: Fix saving when the parent is in the workspace. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Mon Jun 28 00:57:05 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Jun 27 23:42:02 2010 +0200| [7212ddf2ffe22bc43446439f94f88bec6170e397] | committer: Hugo Beauzée-Luyssen 

Clip: Fix saving when the parent is in the workspace.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=7212ddf2ffe22bc43446439f94f88bec6170e397
---

 src/Media/Clip.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Media/Clip.cpp b/src/Media/Clip.cpp
index db02339..2ce0730 100644
--- a/src/Media/Clip.cpp
+++ b/src/Media/Clip.cpp
@@ -232,7 +232,7 @@ Clip::save( QXmlStreamWriter &project )
     if ( isRootClip() == true )
     {
         if ( m_media->isInWorkspace() == true )
-            project.writeAttribute( "media", Workspace::pathInProjectDir( m_media ) );
+            project.writeAttribute( "media", Workspace::workspacePrefix + Workspace::pathInProjectDir( m_media ) );
         else
             project.writeAttribute( "media", m_media->fileInfo()->absoluteFilePath() );
     }



More information about the Vlmc-devel mailing list