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

Media: Fix missing path initialization

parent cb2cf06e
......@@ -65,6 +65,7 @@ Media::Media(const QString &path ) :
m_metadataComputed( false ),
m_inWorkspace( false )
{
setFilePath( path );
Backend::IBackend* backend = Backend::getBackend();
m_source = backend->createSource( qPrintable( path ) );
}
......
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