From e1fa1b81ac3946bc38f755632f6d40318687605f Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Mon, 23 Dec 2024 16:32:02 -0500 Subject: [PATCH] Translations and code format --- share/translations/keepassxc_en.ts | 4 ++++ src/keeshare/ShareExport.cpp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/share/translations/keepassxc_en.ts b/share/translations/keepassxc_en.ts index c83fefc75..3a8c89968 100644 --- a/share/translations/keepassxc_en.ts +++ b/share/translations/keepassxc_en.ts @@ -3555,6 +3555,10 @@ Supported extensions are: %1. Select import/export file + + Share recursively + + EditGroupWidgetMain diff --git a/src/keeshare/ShareExport.cpp b/src/keeshare/ShareExport.cpp index 15dfcd562..3c5b618de 100644 --- a/src/keeshare/ShareExport.cpp +++ b/src/keeshare/ShareExport.cpp @@ -68,7 +68,7 @@ namespace targetMetadata->addCustomIcon(iconUuid, sourceDb->metadata()->customIcon(iconUuid)); } } - + void cloneEntries(Metadata* targetMetadata, const Group* sourceGroup, Group* targetGroup) { for (const Entry* sourceEntry : sourceGroup->entries()) { @@ -110,7 +110,7 @@ namespace targetRoot->setUpdateTimeinfo(updateTimeinfo); cloneIcon(targetMetadata, sourceRoot->database(), targetRoot->iconUuid()); cloneEntries(targetMetadata, sourceRoot, targetRoot); - if(reference.recurse) { + if (reference.recurse) { cloneChildren(targetMetadata, sourceRoot, targetRoot); }