mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
added button 'Reset settings and remove all data from the application'
This commit is contained in:
@@ -46,14 +46,15 @@ void SettingsController::setSecondaryDns(const QString &dns)
|
||||
emit secondaryDnsChanged();
|
||||
}
|
||||
|
||||
bool SettingsController::isSaveLogsEnabled()
|
||||
bool SettingsController::isLoggingEnable()
|
||||
{
|
||||
return m_settings->isSaveLogs();
|
||||
}
|
||||
|
||||
void SettingsController::setSaveLogs(bool enable)
|
||||
void SettingsController::toggleLogging(bool enable)
|
||||
{
|
||||
m_settings->setSaveLogs(enable);
|
||||
emit loggingStateChanged();
|
||||
}
|
||||
|
||||
void SettingsController::openLogsFolder()
|
||||
@@ -101,3 +102,8 @@ QString SettingsController::getAppVersion()
|
||||
{
|
||||
return m_appVersion;
|
||||
}
|
||||
|
||||
void SettingsController::clearSettings()
|
||||
{
|
||||
m_settings->clearSettings();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user