Changeset View
Changeset View
Standalone View
Standalone View
krusader/Synchronizer/synchronizer.cpp
Context not available. | |||||
487 | } | 487 | } | ||
---|---|---|---|---|---|
488 | } | 488 | } | ||
489 | 489 | | |||
490 | if (asymmetric) | 490 | if (ignoreDate) | ||
491 | task = TT_COPY_TO_LEFT; | | |||
492 | else if (ignoreDate) | | |||
493 | task = TT_DIFFERS; | 491 | task = TT_DIFFERS; | ||
494 | else if (leftDate > checkedRightDate) | 492 | else if (asymmetric) { | ||
493 | // To avoid that the default action is | ||||
494 | // to overwrite a file by an old version of it | ||||
495 | if (leftDate > checkedRightDate) | ||||
496 | task = TT_DIFFERS; | ||||
497 | else | ||||
498 | task = TT_COPY_TO_LEFT; | ||||
499 | } else if (leftDate > checkedRightDate) | ||||
495 | task = TT_COPY_TO_RIGHT; | 500 | task = TT_COPY_TO_RIGHT; | ||
496 | else if (leftDate < checkedRightDate) | 501 | else if (leftDate < checkedRightDate) | ||
497 | task = TT_COPY_TO_LEFT; | 502 | task = TT_COPY_TO_LEFT; | ||
Context not available. |