Index: sources/storage/Logger.cpp =================================================================== diff -u -r61f87c52ccba9ce140fd8039915e025b6c790575 -r02350a71e85f193287e6c999e816dc5ced6966f2 --- sources/storage/Logger.cpp (.../Logger.cpp) (revision 61f87c52ccba9ce140fd8039915e025b6c790575) +++ sources/storage/Logger.cpp (.../Logger.cpp) (revision 02350a71e85f193287e6c999e816dc5ced6966f2) @@ -635,10 +635,11 @@ Gui::GuiStringIndexMapIterator it(vExportList); while ( it.hasNext() ) { it.next(); - // qDebug() << it.key() << it.value() << mSource << mDestination; + //DEBUG qDebug() << it.key() << it.value() << mSource << mDestination; auto index = it.key (); - auto filename = it.value(); - result = FileHandler::copyFile(mSource, mDestination + _logBasePathNames[vLogType], filename, ¬ifier, index); + auto filePath = it.value(); + QFileInfo file(filePath); + result = FileHandler::copyFile(file.path(), mDestination + _logBasePathNames[vLogType], file.fileName(), ¬ifier, index); } } return result >= 0; // refer to QProcess::execute(hit F1 on execute) doc.