mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-01 22:32:55 -08:00
Add custom icons when merging. (#1008)
* Adding missing custom icons on merge. * qDebug when adding icon * Adding test for merge custom icons.
This commit is contained in:
1 parent
0d5fec6dfc
commit
242faa138b
7 files changed
+33
-18
No files matched your search
@@ -41,7 +41,6 @@ Metadata::Metadata(QObject* parent)
|
||||
m_data.protectPassword = true;
|
||||
m_data.protectUrl = false;
|
||||
m_data.protectNotes = false;
|
||||
// m_data.autoEnableVisualHiding = false;
|
||||
|
||||
QDateTime now = QDateTime::currentDateTimeUtc();
|
||||
m_data.nameChanged = now;
|
||||
@@ -158,11 +157,6 @@ bool Metadata::protectNotes() const
|
||||
return m_data.protectNotes;
|
||||
}
|
||||
|
||||
/*bool Metadata::autoEnableVisualHiding() const
|
||||
{
|
||||
return m_autoEnableVisualHiding;
|
||||
}*/
|
||||
|
||||
QImage Metadata::customIcon(const Uuid& uuid) const
|
||||
{
|
||||
return m_customIcons.value(uuid);
|
||||
@@ -376,11 +370,6 @@ void Metadata::setProtectNotes(bool value)
|
||||
set(m_data.protectNotes, value);
|
||||
}
|
||||
|
||||
/*void Metadata::setAutoEnableVisualHiding(bool value)
|
||||
{
|
||||
set(m_autoEnableVisualHiding, value);
|
||||
}*/
|
||||
|
||||
void Metadata::addCustomIcon(const Uuid& uuid, const QImage& icon)
|
||||
{
|
||||
Q_ASSERT(!uuid.isNull());
|
||||
|
||||
Reference in new issue
Block a user