Fix password saving for windows

Disable forgotten precompiler directives for windows
This commit is contained in:
Bart De Vries 2024-11-05 18:39:12 +01:00
parent f2a9adea3d
commit b4466d86ed
No known key found for this signature in database
GPG Key ID: 7285665DA6E2D42B
1 changed files with 0 additions and 2 deletions

View File

@ -453,7 +453,6 @@ void Sync::savePasswordToKeyChain(const QString &username, const QString &passwo
{
qCDebug(kastsSync) << "Save the password to the keychain for" << username;
#ifndef Q_OS_WINDOWS
QKeychain::WritePasswordJob *job = new QKeychain::WritePasswordJob(qAppName(), this);
job->setAutoDelete(false);
job->setKey(username);
@ -463,7 +462,6 @@ void Sync::savePasswordToKeyChain(const QString &username, const QString &passwo
onWritePasswordJobFinished(job, username, password);
});
job->start();
#endif
}
void Sync::savePasswordToFile(const QString &username, const QString &password)