Skip to content

Commit

Permalink
Use readable variable names.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <hello@camilasan.com>
  • Loading branch information
camilasan committed Jun 25, 2024
1 parent e8e30fe commit acb5b81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cmd/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,10 @@ int main(int argc, char **argv)
selectiveSyncFixup(&db, selectiveSyncList);
}

SyncOptions opt;
opt.fillFromEnvironmentVariables();
opt.verifyChunkSizes();
SyncEngine engine(account, options.source_dir, opt, folder, &db);
SyncOptions syncOptions;
syncOptions.fillFromEnvironmentVariables();
syncOptions.verifyChunkSizes();
SyncEngine engine(account, options.source_dir, syncOptions, folder, &db);
engine.setIgnoreHiddenFiles(options.ignoreHiddenFiles);
engine.setNetworkLimits(options.uplimit, options.downlimit);
QObject::connect(&engine, &SyncEngine::finished,
Expand Down

0 comments on commit acb5b81

Please sign in to comment.