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 5a3bde7676
commit 292046ff7f
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
8 changed files with 92 additions and 20 deletions

View file

@ -946,6 +946,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,