mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 12:37:39 +03:00
parent
4d7eae34c2
commit
831704f3b2
2 changed files with 3 additions and 3 deletions
|
@ -178,7 +178,7 @@ void BrowserSettingsWidget::loadSettings()
|
||||||
QString BrowserSettingsWidget::resolveCustomProxyLocation()
|
QString BrowserSettingsWidget::resolveCustomProxyLocation()
|
||||||
{
|
{
|
||||||
auto settings = browserSettings();
|
auto settings = browserSettings();
|
||||||
auto proxyLocation = m_ui->customProxyLocation->text();
|
auto proxyLocation = m_ui->customProxyLocation->text().trimmed();
|
||||||
proxyLocation = settings->replaceTildeHomePath(proxyLocation);
|
proxyLocation = settings->replaceTildeHomePath(proxyLocation);
|
||||||
return proxyLocation;
|
return proxyLocation;
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,9 +90,9 @@ void AgentSettingsWidget::loadSettings()
|
||||||
|
|
||||||
void AgentSettingsWidget::saveSettings()
|
void AgentSettingsWidget::saveSettings()
|
||||||
{
|
{
|
||||||
auto sshAuthSockOverride = m_ui->sshAuthSockOverrideEdit->text();
|
auto sshAuthSockOverride = m_ui->sshAuthSockOverrideEdit->text().trimmed();
|
||||||
sshAgent()->setAuthSockOverride(sshAuthSockOverride);
|
sshAgent()->setAuthSockOverride(sshAuthSockOverride);
|
||||||
auto sshSecurityKeyProviderOverride = m_ui->sshSecurityKeyProviderOverrideEdit->text();
|
auto sshSecurityKeyProviderOverride = m_ui->sshSecurityKeyProviderOverrideEdit->text().trimmed();
|
||||||
sshAgent()->setSecurityKeyProviderOverride(sshSecurityKeyProviderOverride);
|
sshAgent()->setSecurityKeyProviderOverride(sshSecurityKeyProviderOverride);
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
sshAgent()->setUsePageant(m_ui->usePageantRadioButton->isChecked() || m_ui->useBothRadioButton->isChecked());
|
sshAgent()->setUsePageant(m_ui->usePageantRadioButton->isChecked() || m_ui->useBothRadioButton->isChecked());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue