Skip to content

Commit

Permalink
Wrap use of folder permissions restore in mac ifdefs
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and mgallien committed Sep 12, 2024
1 parent d137528 commit 45aa8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/propagatorjobs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ void PropagateLocalRename::start()
qCWarning(lcPropagateLocalRename) << "exception when checking parent folder access rights" << e.what() << e.path1().c_str() << e.path2().c_str();
}
};
#endif

const auto folderPermissionsHandler = FileSystem::FilePermissionsRestore{existingFile, FileSystem::FolderPermissions::ReadWrite};
#endif

emit propagator()->touchedFile(existingFile);
emit propagator()->touchedFile(targetFile);
Expand Down

0 comments on commit 45aa8df

Please sign in to comment.