SecureFormat AES-GCM

This commit is contained in:
eugenyorbitsoftcom 2022-07-29 10:36:54 +06:00
parent 0ba614961d
commit 7029968c47
6 changed files with 213 additions and 7 deletions

View file

@ -8,10 +8,15 @@
const char Settings::cloudFlareNs1[] = "1.1.1.1";
const char Settings::cloudFlareNs2[] = "1.0.0.1";
SecureFormat Settings::m_secureFormat;
Settings::Settings(QObject* parent) :
QObject(parent),
m_settings (ORGANIZATION_NAME, APPLICATION_NAME, this)
m_settings(m_secureFormat.format(), QSettings::UserScope,
ORGANIZATION_NAME, APPLICATION_NAME, this)
{
qDebug() << "Settings::Settings()" << this;
qDebug() << "Settings::Settings()" << m_settings.fileName();
// Import old settings
if (serversCount() == 0) {
QString user = m_settings.value("Server/userName").toString();