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

WorkspaceWorker: Fix errno usage.

parent 7aa9ee1c
......@@ -46,6 +46,7 @@ WorkspaceWorker::run()
bool hardLinkOk = false;
#ifdef Q_OS_UNIX
errno = 0;
if ( link( m_media->fileInfo()->absoluteFilePath().toUtf8().constData(),
m_dest.toUtf8().constData() ) < 0 )
{
......
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