mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Correct issues with building new SSH Agent fixes
This commit is contained in:
parent
40ad211f3e
commit
409190c85a
@ -77,7 +77,7 @@ void SSHAgent::setUseOpenSSH(bool useOpenSSH)
|
||||
}
|
||||
#endif
|
||||
|
||||
QString SSHAgent::socketPath(bool allowOverride = true) const
|
||||
QString SSHAgent::socketPath(bool allowOverride) const
|
||||
{
|
||||
QString socketPath;
|
||||
|
||||
@ -91,6 +91,7 @@ QString SSHAgent::socketPath(bool allowOverride = true) const
|
||||
socketPath = QProcessEnvironment::systemEnvironment().value("SSH_AUTH_SOCK");
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(allowOverride)
|
||||
socketPath = "\\\\.\\pipe\\openssh-ssh-agent";
|
||||
#endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
|
||||
bool isEnabled() const;
|
||||
void setEnabled(bool enabled);
|
||||
QString socketPath(bool allowOverride) const;
|
||||
QString socketPath(bool allowOverride = true) const;
|
||||
QString authSockOverride() const;
|
||||
void setAuthSockOverride(QString& authSockOverride);
|
||||
#ifdef Q_OS_WIN
|
||||
|
Loading…
Reference in New Issue
Block a user