mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-03 23:32:33 -08:00
1 parent
e53850627f
commit
bbdfbe64da
7 files changed
+64
No files matched your search
@@ -112,6 +112,13 @@ void EntryAttachments::remove(const QStringList& keys)
|
||||
}
|
||||
}
|
||||
|
||||
void EntryAttachments::rename(const QString& key, const QString& newKey)
|
||||
{
|
||||
const QByteArray val = value(key);
|
||||
remove(key);
|
||||
set(newKey, val);
|
||||
}
|
||||
|
||||
bool EntryAttachments::isEmpty() const
|
||||
{
|
||||
return m_attachments.isEmpty();
|
||||
|
||||
Reference in new issue
Block a user