mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-26 00:05:34 -04:00
Removed / Consolidated unnecessary header files
This commit is contained in:
parent
6b14b5dc27
commit
9b2b861a2a
9 changed files with 25 additions and 127 deletions
|
@ -18,8 +18,8 @@
|
|||
|
||||
#include "BrowserEntryConfig.h"
|
||||
|
||||
#include "browser/Variant.h"
|
||||
#include "core/Entry.h"
|
||||
#include "core/Tools.h"
|
||||
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
|
@ -105,7 +105,7 @@ bool BrowserEntryConfig::load(const Entry* entry)
|
|||
|
||||
void BrowserEntryConfig::save(Entry* entry)
|
||||
{
|
||||
QVariantMap v = qo2qv(this);
|
||||
QVariantMap v = Tools::qo2qvm(this);
|
||||
QJsonObject o = QJsonObject::fromVariantMap(v);
|
||||
QByteArray json = QJsonDocument(o).toJson(QJsonDocument::Compact);
|
||||
entry->customData()->set(KEEPASSXCBROWSER_NAME, json);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue