diff options
author | varjolintu <sami.vanttinen@protonmail.com> | 2019-08-15 12:35:11 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-10-17 05:20:57 +0300 |
commit | f726d7501ff7e8a66ae974719042f23010716595 (patch) | |
tree | 9eb923dde877609866bc6c2684ace6e44f090289 /src/core | |
parent | e50261a99c0ed6911aa16331dde730223fe4a2e1 (diff) |
Add support for multiple URLs in an entry
* Fixes #398
The new Browser Integration entry settings page has a list view with any additional URL's. These URL's are added to the entry attributes with KP2A_URL_<counter>, which means those are directly compatible with Keepass2Android.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Bootstrap.cpp | 2 | ||||
-rw-r--r-- | src/core/Entry.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/Bootstrap.cpp b/src/core/Bootstrap.cpp index 2d1a3e087..204942f4d 100644 --- a/src/core/Bootstrap.cpp +++ b/src/core/Bootstrap.cpp @@ -257,7 +257,7 @@ namespace Bootstrap nullptr, // do not change owner or group pACL, // DACL specified nullptr // do not change SACL - ); + ); Cleanup: diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp index 60d64167a..677c7b387 100644 --- a/src/core/Entry.cpp +++ b/src/core/Entry.cpp @@ -762,7 +762,8 @@ Entry* Entry::clone(CloneFlags flags) const entry->m_autoTypeAssociations->copyDataFrom(m_autoTypeAssociations); if (flags & CloneIncludeHistory) { for (Entry* historyItem : m_history) { - Entry* historyItemClone = historyItem->clone(flags & ~CloneIncludeHistory & ~CloneNewUuid & ~CloneResetTimeInfo); + Entry* historyItemClone = + historyItem->clone(flags & ~CloneIncludeHistory & ~CloneNewUuid & ~CloneResetTimeInfo); historyItemClone->setUpdateTimeinfo(false); historyItemClone->setUuid(entry->uuid()); historyItemClone->setUpdateTimeinfo(true); |