summaryrefslogtreecommitdiff
path: root/Application.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
commit4226e548662339ea1ca37b45385a7cf9b237ff1e (patch)
tree9a3fa54b85d97f05164e41bdb96b82f748a37342 /Application.cpp
parent3.7 (diff)
downloadFreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip
3.8
Diffstat (limited to 'Application.cpp')
-rw-r--r--Application.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Application.cpp b/Application.cpp
index 4d0fd65f..d0a05124 100644
--- a/Application.cpp
+++ b/Application.cpp
@@ -231,8 +231,7 @@ void Application::runBatchMode(const wxString& filename, xmlAccess::XmlGlobalSet
//COMPARE DIRECTORIES
FreeFileSync::FolderComparison folderCmp;
- FreeFileSync::CompareProcess comparison(batchCfg.mainCfg.processSymlinks,
- batchCfg.mainCfg.traverseDirectorySymlinks,
+ FreeFileSync::CompareProcess comparison(batchCfg.mainCfg.handleSymlinks,
batchCfg.mainCfg.hidden.fileTimeTolerance,
globSettings.ignoreOneHourDiff,
globSettings.optDialogs,
@@ -246,13 +245,11 @@ void Application::runBatchMode(const wxString& filename, xmlAccess::XmlGlobalSet
if (!synchronizationNeeded(folderCmp))
{
statusHandler->reportInfo(_("Nothing to synchronize according to configuration!")); //inform about this special case
- return;
+ //return; -> disabled: <automatic> mode requires database to be written in any case
}
//START SYNCHRONIZATION
FreeFileSync::SyncProcess synchronization(
- batchCfg.mainCfg.copyFileSymlinks,
- batchCfg.mainCfg.traverseDirectorySymlinks,
globSettings.optDialogs,
batchCfg.mainCfg.hidden.verifyFileCopy,
globSettings.copyLockedFiles,
bgstack15