Commit 9a3bda6a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Library: No need to add an extra '/'

Actually this was not needed, and was breaking the project loading :)
parent 5e64c2a3
......@@ -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* ) ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment