Commit bf86b5f0 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

WorkspaceWorker: Remove useless QFile instance

Since we're using the static QFile::copy method
parent d800f290
...@@ -65,9 +65,7 @@ WorkspaceWorker::run() ...@@ -65,9 +65,7 @@ WorkspaceWorker::run()
if ( hardLinkOk == false ) if ( hardLinkOk == false )
{ {
QFile file( m_media->fileInfo()->absoluteFilePath() ); QFile::copy( m_media->fileInfo()->absoluteFilePath(), m_dest );
file.copy( m_media->fileInfo()->absoluteFilePath(), m_dest );
vlmcDebug() << "Media copied to:" << m_dest; vlmcDebug() << "Media copied to:" << m_dest;
} }
emit copied( m_media, m_dest ); emit copied( m_media, m_dest );
......
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