mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Remove dead code
This commit is contained in:
parent
ebaa98fa7a
commit
010fccb4fa
@ -508,8 +508,6 @@ restart_sync:
|
||||
SyncOptions opt;
|
||||
opt.fillFromEnvironmentVariables();
|
||||
opt.verifyChunkSizes();
|
||||
opt._deltaSyncEnabled = false;
|
||||
opt._deltaSyncMinFileSize = false;
|
||||
SyncEngine engine(account, options.source_dir, folder, &db);
|
||||
engine.setIgnoreHiddenFiles(options.ignoreHiddenFiles);
|
||||
engine.setNetworkLimits(options.uplimit, options.downlimit);
|
||||
|
||||
@ -881,9 +881,6 @@ void Folder::setSyncOptions()
|
||||
opt._maxChunkSize = cfgFile.maxChunkSize();
|
||||
opt._targetChunkUploadDuration = cfgFile.targetChunkUploadDuration();
|
||||
|
||||
opt._deltaSyncEnabled = false;
|
||||
opt._deltaSyncMinFileSize = false;
|
||||
|
||||
opt.fillFromEnvironmentVariables();
|
||||
opt.verifyChunkSizes();
|
||||
|
||||
|
||||
@ -67,12 +67,6 @@ struct OWNCLOUDSYNC_EXPORT SyncOptions
|
||||
/** The maximum number of active jobs in parallel */
|
||||
int _parallelNetworkJobs = 6;
|
||||
|
||||
/** Whether delta-synchronization is enabled */
|
||||
bool _deltaSyncEnabled = false;
|
||||
|
||||
/** What the minimum file size (in Bytes) is for delta-synchronization */
|
||||
qint64 _deltaSyncMinFileSize = 0;
|
||||
|
||||
/** Reads settings from env vars where available.
|
||||
*
|
||||
* Currently reads _initialChunkSize, _minChunkSize, _maxChunkSize,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user