[vlmc-devel] commit: Library: No need to add an extra '/' ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Sun Jun 20 23:50:35 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Jun 20 23:37:16 2010 +0200| [9a3bda6a75485546083aecac2998d2081bdc3b29] | committer: Hugo Beauzée-Luyssen
Library: No need to add an extra '/'
Actually this was not needed, and was breaking the project loading :)
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=9a3bda6a75485546083aecac2998d2081bdc3b29
---
src/Library/Library.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp
index 430041b..15a360f 100644
--- a/src/Library/Library.cpp
+++ b/src/Library/Library.cpp
@@ -61,7 +61,7 @@ Library::loadProject( const QDomElement& doc )
if ( mrl.startsWith( Workspace::workspacePrefix ) == true )
{
QString projectPath = VLMC_PROJECT_GET_STRING( "general/ProjectDir" );
- mrl = projectPath + '/' + mrl.mid( Workspace::workspacePrefix.length() );
+ mrl = projectPath + mrl.mid( Workspace::workspacePrefix.length() );
}
Media* m = addMedia( mrl );
connect( m, SIGNAL( metaDataComputed( const Media* ) ),
More information about the Vlmc-devel
mailing list