mirror of https://github.com/KDE/kasts.git
Fix password saving for windows
Disable forgotten precompiler directives for windows
This commit is contained in:
parent
f2a9adea3d
commit
b4466d86ed
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue