Index: sources/gui/qml/pages/settings/SettingsExportLogs.qml =================================================================== diff -u -ra7c580f0998ee781c47314384f677249cea4c4b4 -r340cae5888596d927601687476618d0ede343a35 --- sources/gui/qml/pages/settings/SettingsExportLogs.qml (.../SettingsExportLogs.qml) (revision a7c580f0998ee781c47314384f677249cea4c4b4) +++ sources/gui/qml/pages/settings/SettingsExportLogs.qml (.../SettingsExportLogs.qml) (revision 340cae5888596d927601687476618d0ede343a35) @@ -376,7 +376,7 @@ : 0 onExportPercentChanged : console.log( "%", exportPercent) - property bool isShownInList : !_GuiView.isPathSymLink(_sdcFolderColumn.currentTypeFolderApplication.replace(typePathPrefix, "") + "/" + fileName) + property bool isShownInList : ! _GuiView.isPathSymLink(_sdcFolderColumn.currentTypeFolderApplication.replace(typePathPrefix, "") + "/" + fileName) Component.onCompleted: if ( isShownInList ) _sdcFolderView.visibleFileCounter++ //DEBUG: onInExportListChanged: console.debug(" * ", index, inExportList) Index: sources/storage/FileHandler.cpp =================================================================== diff -u -r80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803 -r340cae5888596d927601687476618d0ede343a35 --- sources/storage/FileHandler.cpp (.../FileHandler.cpp) (revision 80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803) +++ sources/storage/FileHandler.cpp (.../FileHandler.cpp) (revision 340cae5888596d927601687476618d0ede343a35) @@ -460,6 +460,5 @@ bool FileHandler::isPathSymLink(const QString &vFilePath) { QFileInfo fileInfo(vFilePath); - //DEBUG: qDebug() << vFilePath << fileInfo.isSymbolicLink() << fileInfo.isSymLink(); - return fileInfo.isSymbolicLink(); + return fileInfo.canonicalFilePath() != fileInfo.filePath(); } Index: sources/storage/FileHandler.h =================================================================== diff -u -r80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803 -r340cae5888596d927601687476618d0ede343a35 --- sources/storage/FileHandler.h (.../FileHandler.h) (revision 80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803) +++ sources/storage/FileHandler.h (.../FileHandler.h) (revision 340cae5888596d927601687476618d0ede343a35) @@ -52,6 +52,7 @@ eDstOpenError , eSrcReadError , + eSrcSymlinkError , eDstWriteError , eDstFlushError , }; @@ -100,7 +101,7 @@ static quint8 mO_CopyPercent = 0; quint8 mC_CopyPercent = 0; - if ( isPathSymLink(vSource + vFileName) ) { return eOK ; } // skipping the file + if ( isPathSymLink(vSource + vFileName) ) { err = eSrcSymlinkError ; goto lErr; } if ( ! srcDir .exists() ) { err = eSrcFolderNotExist ; goto lErr; } if ( ! srcFile.exists() ) { err = eSrcFileNotExist ; goto lErr; } Index: sources/storage/TreatmentLog.cpp =================================================================== diff -u -r51410753afd28d98bc6ec4c1ef5648c011554da6 -r340cae5888596d927601687476618d0ede343a35 --- sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 51410753afd28d98bc6ec4c1ef5648c011554da6) +++ sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 340cae5888596d927601687476618d0ede343a35) @@ -22,7 +22,7 @@ #include "FileHandler.h" #include "ApplicationController.h" #include "Logger.h" -#include "MSettings.h" +// #include "MSettings.h" #include "Settings.h" #include "CloudSyncController.h"