mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
Secure settings 2
This commit is contained in:
@@ -8,15 +8,14 @@
|
||||
const char Settings::cloudFlareNs1[] = "1.1.1.1";
|
||||
const char Settings::cloudFlareNs2[] = "1.0.0.1";
|
||||
|
||||
SecureFormat Settings::m_secureFormat;
|
||||
//SecureFormat Settings::m_secureFormat;
|
||||
|
||||
Settings::Settings(QObject* parent) :
|
||||
QObject(parent),
|
||||
m_settings(m_secureFormat.format(), QSettings::UserScope,
|
||||
ORGANIZATION_NAME, APPLICATION_NAME, this)
|
||||
m_settings(ORGANIZATION_NAME, APPLICATION_NAME, this)
|
||||
{
|
||||
qDebug() << "Settings::Settings()" << this;
|
||||
qDebug() << "Settings::Settings()" << m_settings.fileName();
|
||||
// qDebug() << "Settings::Settings()" << m_settings.fileName();
|
||||
// Import old settings
|
||||
if (serversCount() == 0) {
|
||||
QString user = m_settings.value("Server/userName").toString();
|
||||
|
||||
Reference in New Issue
Block a user