mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-29 08:57:43 -04:00
Ignore recycle bin on KeePassHTTP migration
This commit is contained in:
parent
9fd9d65995
commit
fd8d81f517
1 changed files with 4 additions and 0 deletions
|
@ -1166,6 +1166,10 @@ bool BrowserService::checkLegacySettings(QSharedPointer<Database> db)
|
|||
bool legacySettingsFound = false;
|
||||
QList<Entry*> entries = db->rootGroup()->entriesRecursive();
|
||||
for (const auto& e : entries) {
|
||||
if (e->isRecycled()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((e->attributes()->contains(KEEPASSHTTP_NAME) || e->attributes()->contains(KEEPASSXCBROWSER_NAME))
|
||||
|| (e->title() == KEEPASSHTTP_NAME || e->title().contains(KEEPASSXCBROWSER_NAME, Qt::CaseInsensitive))) {
|
||||
legacySettingsFound = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue