Removed / Consolidated unnecessary header files

This commit is contained in:
Jonathan White 2021-07-11 21:30:20 -04:00
parent 6b14b5dc27
commit 9b2b861a2a
9 changed files with 25 additions and 127 deletions

View file

@ -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);