Allow deleting extension plugin data from Browser Statistics

This commit is contained in:
varjolintu 2024-09-01 09:45:53 +03:00 committed by Jonathan White
parent 3c05dd248d
commit 2f0160438a
8 changed files with 92 additions and 20 deletions

View file

@ -977,6 +977,15 @@ bool BrowserService::deleteEntry(const QString& uuid)
return true;
}
void BrowserService::removePluginData(Entry* entry) const
{
if (entry) {
entry->beginUpdate();
entry->customData()->remove(BrowserService::KEEPASSXCBROWSER_NAME);
entry->endUpdate();
}
}
QList<Entry*> BrowserService::searchEntries(const QSharedPointer<Database>& db,
const QString& siteUrl,
const QString& formUrl,